mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-04-14 10:07:39 +08:00
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…
x
Reference in New Issue
Block a user