Commit 8a79febf authored by mru's avatar mru

move some CFLAGS settings away from config.* writing section


git-svn-id: file:///var/local/repositories/ffmpeg/trunk@7045 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b
parent baf42641
......@@ -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
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment