Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in / Register
Toggle navigation
F
ffmpeg
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Packages
Packages
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
submodule
ffmpeg
Commits
2575b191
Commit
2575b191
authored
Mar 09, 2016
by
Diego Biurrun
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
build: Add separate flags for checkheaders targets
This allows filtering out some warning noise.
parent
984e50e7
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
10 additions
and
0 deletions
+10
-0
common.mak
common.mak
+1
-0
configure
configure
+9
-0
No files found.
common.mak
View file @
2575b191
...
...
@@ -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)
...
...
configure
View file @
2575b191
...
...
@@ -4851,6 +4851,14 @@ check_disable_warning -Wno-switch
check_disable_warning
-Wno-format-zero-length
check_disable_warning
-Wno-pointer-sign
check_disable_warning_headers
(){
warning_flag
=
-W
${
1
#-Wno-
}
test_cflags
$warning_flag
&&
append cflags_headers
$1
}
check_disable_warning_headers
-Wno-deprecated-declarations
check_disable_warning_headers
-Wno-unused-variable
# add some linker flags
check_ldflags
-Wl
,--warn-common
check_ldflags
-Wl
,-rpath-link
=
libswscale:libavfilter:libavdevice:libavformat:libavcodec:libavutil:libavresample
...
...
@@ -5315,6 +5323,7 @@ TARGET_EXEC=$target_exec $target_exec_args
TARGET_PATH=
$target_path
TARGET_SAMPLES=
${
target_samples
:-
\
$(
SAMPLES
)}
CFLAGS-avplay=
$sdl_cflags
CFLAGS_HEADERS=
$cflags_headers
ZLIB=
$(
$ldflags_filter
-lz
)
LIB_INSTALL_EXTRA_CMD=
$LIB_INSTALL_EXTRA_CMD
EXTRALIBS=
$extralibs
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment