mirror of https://github.com/mpv-player/mpv
Get rid on -DGNU_SOURCE for internal code, imported libs should be fixed
ASAP, too, though git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@21604 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
parent
1f2f5a5ea9
commit
f4b7a0e4d1
|
@ -4600,7 +4600,7 @@ if test "$_sdl" = yes ; then
|
|||
_inc_extra="$_inc_extra `$_sdlconfig --cflags | sed s/-Dmain=SDL_main//`"
|
||||
else
|
||||
_libs_mplayer="$_libs_mplayer `$_sdlconfig --libs`"
|
||||
_inc_extra="$_inc_extra `$_sdlconfig --cflags`"
|
||||
_inc_extra="$_inc_extra `$_sdlconfig --cflags | sed s/-D_GNU_SOURCE=1//`"
|
||||
fi
|
||||
_vosrc="$_vosrc vo_sdl.c"
|
||||
_vomodules="sdl $_vomodules"
|
||||
|
|
|
@ -32,8 +32,6 @@ SRCS=af.c \
|
|||
SRCS-$(CONFIG_LIBAVCODEC) += af_lavcresample.c
|
||||
SRCS-$(CONFIG_LIBAVCODEC_SO) += af_lavcresample.c
|
||||
|
||||
CFLAGS = -D_GNU_SOURCE
|
||||
|
||||
CFLAGS-$(CONFIG_LIBAVUTIL) += -I../libavutil
|
||||
CFLAGS-$(CONFIG_LIBAVCODEC) += -I../libavcodec
|
||||
|
||||
|
|
|
@ -13,6 +13,6 @@ SRCS = ass.c \
|
|||
ass_library.c \
|
||||
ass_font.c \
|
||||
|
||||
CFLAGS = -I../libmpcodecs -D_GNU_SOURCE
|
||||
CFLAGS = -I../libmpcodecs
|
||||
|
||||
include ../mpcommon.mak
|
||||
|
|
|
@ -157,7 +157,6 @@ CFLAGS = -I.. \
|
|||
-I../libmpdemux \
|
||||
-I../stream \
|
||||
-I../loader \
|
||||
-D_GNU_SOURCE \
|
||||
|
||||
CFLAGS-$(CONFIG_LIBAVUTIL) += -I../libavutil
|
||||
CFLAGS-$(CONFIG_LIBAVCODEC) += -I../libavcodec
|
||||
|
|
Loading…
Reference in New Issue