mirror of
https://gitee.com/xiaohuolufeihua/bizhang_-obav.git
synced 2026-05-21 09:22:18 +00:00
move -fno-math-errno to nuttx only
This commit is contained in:
committed by
Lorenz Meier
parent
75a91f79ae
commit
58ca307c9d
@@ -371,7 +371,6 @@ function(px4_add_common_flags)
|
||||
-funsafe-math-optimizations
|
||||
-ffunction-sections
|
||||
-fdata-sections
|
||||
-fno-math-errno
|
||||
-fmerge-all-constants
|
||||
${PIC_FLAG}
|
||||
)
|
||||
|
||||
@@ -579,6 +579,10 @@ function(px4_os_add_flags)
|
||||
-nostdlib
|
||||
)
|
||||
|
||||
set(added_optimization_flags
|
||||
-fno-math-errno
|
||||
)
|
||||
|
||||
set(added_exe_linker_flags) # none currently
|
||||
|
||||
set(instrument_flags)
|
||||
|
||||
Reference in New Issue
Block a user