Use CFLAGS in check_cpp
authorMåns Rullgård <mans@mansr.com>
Sun, 12 Jul 2009 14:13:32 +0000 (14:13 +0000)
committerMåns Rullgård <mans@mansr.com>
Sun, 12 Jul 2009 14:13:32 +0000 (14:13 +0000)
Originally committed as revision 19414 to svn://svn.ffmpeg.org/ffmpeg/trunk

configure

index 244d272..d681724 100755 (executable)
--- a/configure
+++ b/configure
@@ -548,7 +548,7 @@ check_cpp(){
     log check_cpp "$@"
     cat > $TMPC
     log_file $TMPC
     log check_cpp "$@"
     cat > $TMPC
     log_file $TMPC
-    check_cmd $cc $CPPFLAGS "$@" -E -o $TMPO $TMPC
+    check_cmd $cc $CPPFLAGS $CFLAGS "$@" -E -o $TMPO $TMPC
 }
 
 check_as(){
 }
 
 check_as(){