forked from Archive/PX4-Autopilot
move -fno-math-errno to nuttx only
This commit is contained in:
parent
75a91f79ae
commit
58ca307c9d
|
@ -371,7 +371,6 @@ function(px4_add_common_flags)
|
|||
-funsafe-math-optimizations
|
||||
-ffunction-sections
|
||||
-fdata-sections
|
||||
-fno-math-errno
|
||||
-fmerge-all-constants
|
||||
${PIC_FLAG}
|
||||
)
|
||||
|
|
|
@ -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)
|
||||
|
|
Loading…
Reference in New Issue