move some CFLAGS settings away from config.* writing section
authorMåns Rullgård <mans@mansr.com>
Tue, 14 Nov 2006 03:19:19 +0000 (03:19 +0000)
committerMåns Rullgård <mans@mansr.com>
Tue, 14 Nov 2006 03:19:19 +0000 (03:19 +0000)
Originally committed as revision 7045 to svn://svn.ffmpeg.org/ffmpeg/trunk

configure

index 03896a5..9fd9f38 100755 (executable)
--- a/configure
+++ b/configure
@@ -1680,6 +1680,9 @@ if test "$gprof" = "yes" ; then
     add_ldflags "-p"
 fi
 
+VHOOKCFLAGS="-fPIC $CFLAGS"
+test "$needmdynamicnopic" = yes && add_cflags -mdynamic-no-pic
+
 # find if .align arg is power-of-two or not
 if test $asmalign_pot = "unknown"; then
     asmalign_pot="no"
@@ -1817,9 +1820,6 @@ else
     echo "INSTALLSTRIP=" >> config.mak
 fi
 
-VHOOKCFLAGS="-fPIC $CFLAGS"
-test "$needmdynamicnopic" = yes && add_cflags -mdynamic-no-pic
-
 echo "OPTFLAGS=$CFLAGS" >> config.mak
 echo "VHOOKCFLAGS=$VHOOKCFLAGS">>config.mak
 echo "LDFLAGS=$LDFLAGS" >> config.mak