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

Remove -lm for ARM platform

parent bbccc571
...@@ -1180,7 +1180,9 @@ def InvokeOcarinaMakefiles( ...@@ -1180,7 +1180,9 @@ def InvokeOcarinaMakefiles(
os.putenv("RTEMS_MAKEFILE_PATH", os.environ["RTEMS_MAKEFILE_PATH_GUMSTIX"]) 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"]): if all(x not in platformType for x in ["LEON", "RTEMS", "WIN32", "GNAT_RUNTIME"]):
extra += "-lrt " extra += "-lrt "
userLDFlags += " -lm " if not platformType.startswith("GNAT_RUNTIME"):
# some symbols from libgnat seem to conflict with libm
userLDFlags += " -lm "
if bCoverage: if bCoverage:
extra += " -lgcov " extra += " -lgcov "
if platformType in ("PLATFORM_LINUX32",): # and platform.architecture()[0] == '64bit': if platformType in ("PLATFORM_LINUX32",): # and platform.architecture()[0] == '64bit':
......
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