summaryrefslogtreecommitdiff
path: root/configure
diff options
context:
space:
mode:
authorDiego Biurrun <diego@biurrun.de>2006-04-14 23:33:34 +0000
committerDiego Biurrun <diego@biurrun.de>2006-04-14 23:33:34 +0000
commit04f40508b258b4a1dbd77aaaffa7bec5be9a37db (patch)
tree4676d1be47d98fa666c88bd33d58fded7d3328d5 /configure
parentb9ca6d4704a5b7e39395779c2c24c42573c57fd9 (diff)
Allow passing CFLAGS through the environment on all platforms.
Originally committed as revision 5292 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 4a2bb3d0c1..20b6e4bbd9 100755
--- a/configure
+++ b/configure
@@ -265,7 +265,7 @@ case $targetos in
BeOS)
prefix="/boot/home/config"
# helps building libavcodec
-CFLAGS="-DPIC -fomit-frame-pointer"
+CFLAGS="$CFLAGS -DPIC -fomit-frame-pointer"
# 3 gcc releases known for BeOS, each with ugly bugs
gcc_version="`$cc -v 2>&1 | grep version | cut -d ' ' -f3-`"
case "$gcc_version" in
@@ -336,7 +336,7 @@ bktr="yes"
audio_oss="yes"
dv1394="no"
make="gmake"
-CFLAGS="-pthread"
+CFLAGS="$CFLAGS -pthread"
LDFLAGS="$LDFLAGS -export-dynamic -pthread"
;;
BSD/OS)
@@ -397,7 +397,7 @@ TMPE=$TMPE".exe"
ar="emxomfar -p128"
ranlib="echo ignoring ranlib"
strip="echo ignoring strip"
-CFLAGS="-Zomf"
+CFLAGS="$CFLAGS -Zomf"
LDFLAGS="-Zomf -Zstack 16384 -s"
SHFLAGS="-Zdll -Zomf"
FFSLDFLAGS=""