cmake remove -fno-math-errno and -fmerge-all-constants (#7462)

This commit is contained in:
Daniel Agar 2017-06-23 11:38:31 -04:00 committed by GitHub
parent 58ca307c9d
commit f82e85f8ff
2 changed files with 1 additions and 4 deletions

View File

@ -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}
) )

View File

@ -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