move -fno-math-errno to nuttx only

This commit is contained in:
Daniel Agar
2017-06-23 07:56:24 +02:00
committed by Lorenz Meier
parent 75a91f79ae
commit 58ca307c9d
2 changed files with 4 additions and 1 deletions
+4
View File
@@ -579,6 +579,10 @@ function(px4_os_add_flags)
-nostdlib
)
set(added_optimization_flags
-fno-math-errno
)
set(added_exe_linker_flags) # none currently
set(instrument_flags)