Commit 44de254c authored by Delia Cellarier's avatar Delia Cellarier
Browse files

Remove -lm for ARM platform

parent bbccc571
......@@ -1180,6 +1180,8 @@ def InvokeOcarinaMakefiles(
os.putenv("RTEMS_MAKEFILE_PATH", os.environ["RTEMS_MAKEFILE_PATH_GUMSTIX"])
if all(x not in platformType for x in ["LEON", "RTEMS", "WIN32", "GNAT_RUNTIME"]):
extra += "-lrt "
if not platformType.startswith("GNAT_RUNTIME"):
# some symbols from libgnat seem to conflict with libm
userLDFlags += " -lm "
if bCoverage:
extra += " -lgcov "
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment