-fvisibility=hidden not a good idea when using SDL_LoadFunction()

This commit is contained in:
William Kendrick 2008-05-08 18:13:42 +00:00
parent ec80202185
commit d87e493c1b

View file

@ -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)
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
SDL_MIXER_LIB:=-lSDL_mixer