mirror of
https://github.com/PX4/PX4-Autopilot.git
synced 2026-06-01 02:55:07 +08:00
cmake remove -fno-math-errno and -fmerge-all-constants (#7462)
This commit is contained in:
@@ -371,7 +371,6 @@ function(px4_add_common_flags)
|
|||||||
-funsafe-math-optimizations
|
-funsafe-math-optimizations
|
||||||
-ffunction-sections
|
-ffunction-sections
|
||||||
-fdata-sections
|
-fdata-sections
|
||||||
-fmerge-all-constants
|
|
||||||
${PIC_FLAG}
|
${PIC_FLAG}
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|||||||
@@ -579,9 +579,7 @@ function(px4_os_add_flags)
|
|||||||
-nostdlib
|
-nostdlib
|
||||||
)
|
)
|
||||||
|
|
||||||
set(added_optimization_flags
|
set(added_optimization_flags)
|
||||||
-fno-math-errno
|
|
||||||
)
|
|
||||||
|
|
||||||
set(added_exe_linker_flags) # none currently
|
set(added_exe_linker_flags) # none currently
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user