Browse Source

enable -fno-math-errno as we never check errno (#9281)

- disables setting of the errno variable as required by C89/C99 on calling math library routines
sbg
Daniel Agar 7 years ago committed by GitHub
parent
commit
bdf4f19867
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 3
      cmake/common/px4_base.cmake

3
cmake/common/px4_base.cmake

@ -361,7 +361,10 @@ function(px4_add_common_flags) @@ -361,7 +361,10 @@ function(px4_add_common_flags)
set(_optimization_flags
-fno-strict-aliasing
-fomit-frame-pointer
-fno-math-errno
-funsafe-math-optimizations
-ffunction-sections
-fdata-sections
)

Loading…
Cancel
Save