diff options
author | Diego Biurrun <diego@biurrun.de> | 2016-03-09 15:39:29 +0100 |
---|---|---|
committer | Diego Biurrun <diego@biurrun.de> | 2016-12-03 08:00:33 +0100 |
commit | 2575b1917b2703fae41a4b4901ad85c888374dfd (patch) | |
tree | b7a8b0ba903f1fda8a19b946df2c9dd2054c9060 /common.mak | |
parent | 984e50e74ba71301720652e56232161a994bd0b5 (diff) | |
download | ffmpeg-2575b1917b2703fae41a4b4901ad85c888374dfd.tar.gz |
build: Add separate flags for checkheaders targets
This allows filtering out some warning noise.
Diffstat (limited to 'common.mak')
-rw-r--r-- | common.mak | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/common.mak b/common.mak index 8f6a61f905..372464821c 100644 --- a/common.mak +++ b/common.mak @@ -33,6 +33,7 @@ ALLHEADERS := $(subst $(SRC_DIR)/,$(SUBDIR),$(wildcard $(SRC_DIR)/*.h $(SRC_DIR) SKIPHEADERS += $(ARCH_HEADERS:%=$(ARCH)/%) $(SKIPHEADERS-) SKIPHEADERS := $(SKIPHEADERS:%=$(SUBDIR)%) HOBJS = $(filter-out $(SKIPHEADERS:.h=.h.o),$(ALLHEADERS:.h=.h.o)) +$(HOBJS): CCFLAGS += $(CFLAGS_HEADERS) checkheaders: $(HOBJS) .SECONDARY: $(HOBJS:.o=.c) |