mirror of
https://github.com/PX4/PX4-Autopilot.git
synced 2026-05-31 18:47:21 +08:00
move -fno-math-errno to nuttx only
This commit is contained in:
committed by
Lorenz Meier
parent
75a91f79ae
commit
58ca307c9d
@@ -371,7 +371,6 @@ function(px4_add_common_flags)
|
|||||||
-funsafe-math-optimizations
|
-funsafe-math-optimizations
|
||||||
-ffunction-sections
|
-ffunction-sections
|
||||||
-fdata-sections
|
-fdata-sections
|
||||||
-fno-math-errno
|
|
||||||
-fmerge-all-constants
|
-fmerge-all-constants
|
||||||
${PIC_FLAG}
|
${PIC_FLAG}
|
||||||
)
|
)
|
||||||
|
|||||||
@@ -579,6 +579,10 @@ function(px4_os_add_flags)
|
|||||||
-nostdlib
|
-nostdlib
|
||||||
)
|
)
|
||||||
|
|
||||||
|
set(added_optimization_flags
|
||||||
|
-fno-math-errno
|
||||||
|
)
|
||||||
|
|
||||||
set(added_exe_linker_flags) # none currently
|
set(added_exe_linker_flags) # none currently
|
||||||
|
|
||||||
set(instrument_flags)
|
set(instrument_flags)
|
||||||
|
|||||||
Reference in New Issue
Block a user