summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authordiego <diego@b3059339-0415-0410-9bf9-f77b7e298cf2>2009-04-12 17:07:30 +0000
committerdiego <diego@b3059339-0415-0410-9bf9-f77b7e298cf2>2009-04-12 17:07:30 +0000
commita5eaafc1798c32361c72e1e672c905376e6bf7db (patch)
treef2e75ca589f5ad1547382336151274e2fe307b60
parent4567425051667ca3dd06749ca7b86e78b6073d6f (diff)
downloadmpv-a5eaafc1798c32361c72e1e672c905376e6bf7db.tar.bz2
mpv-a5eaafc1798c32361c72e1e672c905376e6bf7db.tar.xz
Use extra_cflags variable instead of CFLAGS to add system-specific CFLAGS.
Otherwise the CFLAGS warning gets triggered and necessary CFLAGS are not set. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29171 b3059339-0415-0410-9bf9-f77b7e298cf2
-rwxr-xr-xconfigure4
1 files changed, 2 insertions, 2 deletions
diff --git a/configure b/configure
index 5cdff8855d..fa09962c77 100755
--- a/configure
+++ b/configure
@@ -1430,7 +1430,7 @@ if netbsd || dragonfly ; then
fi
if darwin; then
- CFLAGS="$CFLAGS -mdynamic-no-pic -falign-loops=16 -shared-libgcc"
+ extra_cflags="-mdynamic-no-pic -falign-loops=16 -shared-libgcc $extra_cflags"
_timer=timer-darwin.c
fi
@@ -1465,7 +1465,7 @@ if amigaos ; then
_sighandler=no
_stream_cache=no
def_stream_cache="#undef CONFIG_STREAM_CACHE"
- CFLAGS="$CFLAGS -DNEWLIB -D__USE_INLINE__"
+ extra_cflags="-DNEWLIB -D__USE_INLINE__ $extra_cflags"
fi
if qnx ; then