[FFmpeg-devel] [PATCH] configure: Add --extra-cppflags option

James Almer jamrial at gmail.com
Thu Feb 7 04:33:37 CET 2013


Signed-off-by: James Almer <jamrial at gmail.com>
---
 configure | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/configure b/configure
index 1827f01..1abbcf8 100755
--- a/configure
+++ b/configure
@@ -261,6 +261,7 @@ Advanced options (experts only):
   --host-os=OS             compiler host OS [$target_os]
   --extra-cflags=ECFLAGS   add ECFLAGS to CFLAGS [$CFLAGS]
   --extra-cxxflags=ECFLAGS add ECFLAGS to CXXFLAGS [$CXXFLAGS]
+  --extra-cppflags=ECFLAGS add ECFLAGS to CPPFLAGS [$CPPFLAGS]
   --extra-ldflags=ELDFLAGS add ELDFLAGS to LDFLAGS [$LDFLAGS]
   --extra-libs=ELIBS       add ELIBS [$ELIBS]
   --extra-version=STRING   version string suffix []
@@ -1567,6 +1568,7 @@ CMDLINE_SET="
 CMDLINE_APPEND="
     extra_cflags
     extra_cxxflags
+    extra_cppflags
 "
 
 # code dependency declarations
@@ -2772,6 +2774,7 @@ fi
 
 add_cflags $extra_cflags
 add_cxxflags $extra_cxxflags
+add_cppflags $extra_cppflags
 add_asflags $extra_cflags
 
 if test -n "$sysroot"; then
-- 
1.7.12.4



More information about the ffmpeg-devel mailing list