missed an "endif", make symbols hidden by default

This commit is contained in:
Albert Cahalan 2008-05-04 17:07:04 +00:00
parent e92706e3af
commit c8df236b92
2 changed files with 6 additions and 1 deletions

View file

@ -19,7 +19,7 @@ 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 -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)
SHARED_FLAGS:=-shared -fpic
SDL_MIXER_LIB:=-lSDL_mixer