Set CPPFLAGS in config.mak using normal assignment
authorMåns Rullgård <mans@mansr.com>
Sun, 12 Jul 2009 21:14:00 +0000 (21:14 +0000)
committerMåns Rullgård <mans@mansr.com>
Sun, 12 Jul 2009 21:14:00 +0000 (21:14 +0000)
Setting this value using ?= caused some trouble if it was already
defined in the environment.

Originally committed as revision 19418 to svn://svn.ffmpeg.org/ffmpeg/trunk

configure

index eab577d..aad700f 100755 (executable)
--- a/configure
+++ b/configure
@@ -2505,7 +2505,7 @@ enabled stripping &&
     echo "STRIP=$strip" >> config.mak ||
     echo "STRIP=echo ignoring strip" >> config.mak
 
-echo "CPPFLAGS?=$CPPFLAGS" >> config.mak
+echo "CPPFLAGS=$CPPFLAGS" >> config.mak
 echo "CFLAGS=$CFLAGS" >> config.mak
 echo "ASFLAGS=$ASFLAGS" >> config.mak
 echo "CC_O=$CC_O" >> config.mak