summaryrefslogtreecommitdiff
path: root/configure
diff options
context:
space:
mode:
authorMåns Rullgård <mans@mansr.com>2006-11-14 03:19:19 +0000
committerMåns Rullgård <mans@mansr.com>2006-11-14 03:19:19 +0000
commit18451f7df9f202353249d455aa6a79023dc79659 (patch)
treeda8c70d02d68ce4abf04c72ddae89a1627faf59a /configure
parent486497e07b4617d9548a5b7347076f1b329bd417 (diff)
move some CFLAGS settings away from config.* writing section
Originally committed as revision 7045 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure6
1 files changed, 3 insertions, 3 deletions
diff --git a/configure b/configure
index 03896a5777..9fd9f38c6f 100755
--- 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