mirror of
https://github.com/mpv-player/mpv
synced 2025-03-09 07:38:22 +00:00
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
This commit is contained in:
parent
4567425051
commit
a5eaafc179
4
configure
vendored
4
configure
vendored
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user