forked from Archive/PX4-Autopilot
Nuttx Build option had repeated ARCHWARNINGS
The Make.defs compisition is ARCHWARNINGS = $(PX4_ARCHWARNINGS) ARCHCWARNINGS = $(PX4_ARCHWARNINGS) $(PX4_ARCHCWARNINGS) ARCHWARNINGSXX = $(ARCHWARNINGS) $(PX4_ARCHWARNINGSXX) so the pieces from nuttx-configs/PX4_Warnings.mk should not be combined.
This commit is contained in:
parent
0ba99df55e
commit
566d73ec22
|
@ -51,7 +51,7 @@ PX4_ARCHWARNINGS = -Wall \
|
|||
# -Wconversion - would be nice, but too many "risky-but-safe" conversions in the code
|
||||
# -Wcast-align - would help catch bad casts in some cases, but generates too many false positives
|
||||
|
||||
PX4_ARCHCWARNINGS = $(ARCHWARNINGS) \
|
||||
PX4_ARCHCWARNINGS = \
|
||||
-Wbad-function-cast \
|
||||
-Wmissing-parameter-type \
|
||||
-Wnested-externs \
|
||||
|
@ -66,6 +66,6 @@ PX4_ARCHCWARNINGS = $(ARCHWARNINGS) \
|
|||
-Wno-pointer-sign \
|
||||
-Wno-type-limits \
|
||||
|
||||
PX4_ARCHWARNINGSXX = $(ARCHWARNINGS) \
|
||||
PX4_ARCHWARNINGSXX = \
|
||||
-Wno-cpp \
|
||||
-Wno-psabi
|
||||
|
|
Loading…
Reference in New Issue