mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-02-22 07:44:03 -04:00
mk: Fix build with removed header files
-MP "instructs CPP to add a phony target for each dependency other than the main file, causing each to depend on nothing. These dummy rules work around errors make gives if you remove header files without updating the Makefile to match."
This commit is contained in:
parent
19f5c8f209
commit
d7ff90326b
@ -19,7 +19,7 @@ WARNFLAGSCXX = -Wno-reorder \
|
||||
-Werror=uninitialized \
|
||||
-Werror=init-self \
|
||||
-Wno-missing-field-initializers
|
||||
DEPFLAGS = -MD -MT $@
|
||||
DEPFLAGS = -MD -MP -MT $@
|
||||
|
||||
CXXOPTS = -ffunction-sections -fdata-sections -fno-exceptions -fsigned-char
|
||||
COPTS = -ffunction-sections -fdata-sections -fsigned-char
|
||||
|
Loading…
Reference in New Issue
Block a user