Commit c7305e65 authored by Maxime Perrotin's avatar Maxime Perrotin
Browse files

Remove the short-double trick

Which does not work with gnat2017
parent 9bebb677
...@@ -296,7 +296,8 @@ def mflags(node): ...@@ -296,7 +296,8 @@ def mflags(node):
result += " -mfloat-abi=hard " result += " -mfloat-abi=hard "
# Cortex M4's FPU does not support double precision! if C code uses double, # Cortex M4's FPU does not support double precision! if C code uses double,
# it must be forced to use float instead: # it must be forced to use float instead:
result += " -fshort-double " # Edit: this worked in gnat2016 but not in gnat2017
# result += " -fshort-double "
return result return result
......
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