-fvisibility=hidden not a good idea when using SDL_LoadFunction()
This commit is contained in:
parent
ec80202185
commit
d87e493c1b
1 changed files with 2 additions and 1 deletions
|
|
@ -19,7 +19,8 @@ SO_TYPE:=so
|
||||||
TP_MAGIC_CFLAGS:=$(shell if [ -x tp-magic-config ] ; then tp-magic-config --cflags ; else echo -I../src/ ; fi)
|
TP_MAGIC_CFLAGS:=$(shell if [ -x tp-magic-config ] ; then tp-magic-config --cflags ; else echo -I../src/ ; fi)
|
||||||
|
|
||||||
SDL_CFLAGS:=$(shell sdl-config --cflags)
|
SDL_CFLAGS:=$(shell sdl-config --cflags)
|
||||||
CFLAGS:=-g3 -O2 -fvisibility=hidden -fno-common -W -Wstrict-prototypes -Wmissing-prototypes -Wall $(SDL_CFLAGS) $(TP_MAGIC_CFLAGS)
|
#CFLAGS:=-g3 -O2 -fvisibility=hidden -fno-common -W -Wstrict-prototypes -Wmissing-prototypes -Wall $(SDL_CFLAGS) $(TP_MAGIC_CFLAGS)
|
||||||
|
CFLAGS:=-g3 -O2 -fno-common -W -Wstrict-prototypes -Wmissing-prototypes -Wall $(SDL_CFLAGS) $(TP_MAGIC_CFLAGS)
|
||||||
SHARED_FLAGS:=-shared -fpic
|
SHARED_FLAGS:=-shared -fpic
|
||||||
|
|
||||||
SDL_MIXER_LIB:=-lSDL_mixer
|
SDL_MIXER_LIB:=-lSDL_mixer
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue