Skip to content

Commit

Permalink
cmake remove -fno-math-errno and -fmerge-all-constants (#7462)
Browse files Browse the repository at this point in the history
  • Loading branch information
dagar authored Jun 23, 2017
1 parent 58ca307 commit f82e85f
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 4 deletions.
1 change: 0 additions & 1 deletion cmake/common/px4_base.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -371,7 +371,6 @@ function(px4_add_common_flags)
-funsafe-math-optimizations
-ffunction-sections
-fdata-sections
-fmerge-all-constants
${PIC_FLAG}
)

Expand Down
4 changes: 1 addition & 3 deletions cmake/nuttx/px4_impl_nuttx.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down

0 comments on commit f82e85f

Please sign in to comment.