forked from Archive/PX4-Autopilot
cmake remove -fno-math-errno and -fmerge-all-constants (#7462)
This commit is contained in:
parent
58ca307c9d
commit
f82e85f8ff
|
@ -371,7 +371,6 @@ function(px4_add_common_flags)
|
|||
-funsafe-math-optimizations
|
||||
-ffunction-sections
|
||||
-fdata-sections
|
||||
-fmerge-all-constants
|
||||
${PIC_FLAG}
|
||||
)
|
||||
|
||||
|
|
|
@ -579,9 +579,7 @@ function(px4_os_add_flags)
|
|||
-nostdlib
|
||||
)
|
||||
|
||||
set(added_optimization_flags
|
||||
-fno-math-errno
|
||||
)
|
||||
set(added_optimization_flags)
|
||||
|
||||
set(added_exe_linker_flags) # none currently
|
||||
|
||||
|
|
Loading…
Reference in New Issue