diff options
author | James Almer <jamrial@gmail.com> | 2017-04-13 17:01:01 -0300 |
---|---|---|
committer | James Almer <jamrial@gmail.com> | 2017-04-13 17:01:01 -0300 |
commit | 41b8b2ca286f4a4d21c2acaa52248ff33fa606c9 (patch) | |
tree | f056a1fb90aed98468d3b44f3e941f153e0fb3de /configure | |
parent | 1849d0caa52f6748f59c75ee0d29adde9cb3451b (diff) | |
parent | 404cb74793284aa03e2e1a7e911c980c4cba0e9e (diff) | |
download | ffmpeg-41b8b2ca286f4a4d21c2acaa52248ff33fa606c9.tar.gz |
Merge commit '404cb74793284aa03e2e1a7e911c980c4cba0e9e'
* commit '404cb74793284aa03e2e1a7e911c980c4cba0e9e':
configure: Pass CFLAGS_HEADERS through the right CFLAGS filter
Merged-by: James Almer <jamrial@gmail.com>
Diffstat (limited to 'configure')
-rwxr-xr-x | configure | 8 |
1 files changed, 6 insertions, 2 deletions
@@ -828,6 +828,10 @@ add_cflags(){ append CFLAGS $($cflags_filter "$@") } +add_cflags_headers(){ + append CFLAGS_HEADERS $($cflags_filter "$@") +} + add_cxxflags(){ append CXXFLAGS $($cflags_filter "$@") } @@ -6128,7 +6132,7 @@ check_disable_warning -Wno-unused-const-variable check_disable_warning_headers(){ warning_flag=-W${1#-Wno-} - test_cflags $warning_flag && append cflags_headers $1 + test_cflags $warning_flag && add_cflags_headers $1 } check_disable_warning_headers -Wno-deprecated-declarations @@ -6730,7 +6734,7 @@ TARGET_EXEC=$target_exec $target_exec_args TARGET_PATH=$target_path TARGET_SAMPLES=${target_samples:-\$(SAMPLES)} CFLAGS-ffplay=${sdl2_cflags} -CFLAGS_HEADERS=$cflags_headers +CFLAGS_HEADERS=$CFLAGS_HEADERS ZLIB=$($ldflags_filter -lz) LIB_INSTALL_EXTRA_CMD=$LIB_INSTALL_EXTRA_CMD EXTRALIBS=$extralibs |