diff options
author | Kinsey Moore <kinsey.moore@oarcorp.com> | 2022-08-24 08:19:14 -0500 |
---|---|---|
committer | Joel Sherrill <joel@rtems.org> | 2022-08-25 13:37:09 -0500 |
commit | db0477727939fab60c7f282e2a9697fe66472f1f (patch) | |
tree | 7d554c8272ffd87e9764c5272922dd05bc3df694 | |
parent | lwip.py: Add compile flags (diff) | |
download | rtems-lwip-db0477727939fab60c7f282e2a9697fe66472f1f.tar.bz2 |
lwip.py: Add libm accessibility
This allows linking with libm. Previously, waf was unware that libm
existed and would omit it during the linking step.
-rw-r--r-- | lwip.py | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -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) |