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(
if all(x not in platformType for x in ["LEON", "RTEMS", "WIN32", "GNAT_RUNTIME"]):
extra += "-lrt "
userLDFlags += " -lm "
if not platformType.startswith("GNAT_RUNTIME"):
# some symbols from libgnat seem to conflict with libm
userLDFlags += " -lm "
if bCoverage:
extra += " -lgcov "
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