missed an "endif", make symbols hidden by default
This commit is contained in:
parent
e92706e3af
commit
c8df236b92
2 changed files with 6 additions and 1 deletions
5
Makefile
5
Makefile
|
|
@ -31,6 +31,7 @@ OS:=beos
|
|||
else
|
||||
OS:=linux
|
||||
endif
|
||||
endif
|
||||
|
||||
windows_SO_TYPE:=dll
|
||||
osx_SO_TYPE:=bundle
|
||||
|
|
@ -158,9 +159,13 @@ ARCH_LIBS:=obj/postscript_print.o
|
|||
|
||||
# The entire set of CFLAGS:
|
||||
|
||||
# FIXME: src/test-option.sh runs every time
|
||||
# FIXME: -Wstrict-aliasing=2 not used
|
||||
|
||||
#-ffast-math
|
||||
OPTFLAGS:=-O2
|
||||
CFLAGS:=$(OPTFLAGS) -W -Wall -fno-common -ffloat-store \
|
||||
-fvisibility=hidden \
|
||||
-Wcast-align -Wredundant-decls \
|
||||
-Wbad-function-cast -Wwrite-strings \
|
||||
-Waggregate-return \
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue