Commit bf42b375 authored by diego's avatar diego

Allow passing CFLAGS through the environment on all platforms.


git-svn-id: file:///var/local/repositories/ffmpeg/trunk@5292 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b
parent f6c7c5a0
...@@ -265,7 +265,7 @@ case $targetos in ...@@ -265,7 +265,7 @@ case $targetos in
BeOS) BeOS)
prefix="/boot/home/config" prefix="/boot/home/config"
# helps building libavcodec # helps building libavcodec
CFLAGS="-DPIC -fomit-frame-pointer" CFLAGS="$CFLAGS -DPIC -fomit-frame-pointer"
# 3 gcc releases known for BeOS, each with ugly bugs # 3 gcc releases known for BeOS, each with ugly bugs
gcc_version="`$cc -v 2>&1 | grep version | cut -d ' ' -f3-`" gcc_version="`$cc -v 2>&1 | grep version | cut -d ' ' -f3-`"
case "$gcc_version" in case "$gcc_version" in
...@@ -336,7 +336,7 @@ bktr="yes" ...@@ -336,7 +336,7 @@ bktr="yes"
audio_oss="yes" audio_oss="yes"
dv1394="no" dv1394="no"
make="gmake" make="gmake"
CFLAGS="-pthread" CFLAGS="$CFLAGS -pthread"
LDFLAGS="$LDFLAGS -export-dynamic -pthread" LDFLAGS="$LDFLAGS -export-dynamic -pthread"
;; ;;
BSD/OS) BSD/OS)
...@@ -397,7 +397,7 @@ TMPE=$TMPE".exe" ...@@ -397,7 +397,7 @@ TMPE=$TMPE".exe"
ar="emxomfar -p128" ar="emxomfar -p128"
ranlib="echo ignoring ranlib" ranlib="echo ignoring ranlib"
strip="echo ignoring strip" strip="echo ignoring strip"
CFLAGS="-Zomf" CFLAGS="$CFLAGS -Zomf"
LDFLAGS="-Zomf -Zstack 16384 -s" LDFLAGS="-Zomf -Zstack 16384 -s"
SHFLAGS="-Zdll -Zomf" SHFLAGS="-Zdll -Zomf"
FFSLDFLAGS="" FFSLDFLAGS=""
......
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