This allows linking with libm. Previously, waf was unware that libm
existed and would omit it during the linking step.
---
lwip.py | 1 +
1 file changed, 1 insertion(+)
diff --git a/lwip.py b/lwip.py
index d235e95..b97d273 100644
--- a/lwip.py
+++ b/lwip.py
@@ -180,6 +180,7 @@ def add_flags(flags, new_flags):
flags.append(flag)
def bsp_configure(conf, arch_bsp):
+ conf.env.LIB += ['m']
section_flags = ["-fdata-sections", "-ffunction-sections"]
add_flags(conf.env.CFLAGS, section_flags)
add_flags(conf.env.CXXFLAGS, section_flags)
--
2.30.2
_______________________________________________
devel mailing list
[email protected]
http://lists.rtems.org/mailman/listinfo/devel