Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Fix build with newer compilers
  • Loading branch information
falkTX committed Sep 7, 2019
1 parent 940158e commit 0b96ba5
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion makefile.linux
Expand Up @@ -6,7 +6,9 @@ LIBS = src/extralibs/tinyxml/tinyxml.o \
src/extralibs/tinyxml/tinyxmlerror.o \
-lasound -lSDL -lsdldraw -lz -ljack -lpthread $(LDFLAGS)

FLAGS = -g -O3 -fno-strict-aliasing -ffast-math -fno-rtti -fexceptions -Wno-write-strings -Wno-multichar -Lsrc/extralibs/sdl_draw -Lsrc/extralibs/zlib-1.2.3 \
FLAGS = -g -O3 -std=gnu++03 -fno-strict-aliasing -ffast-math -fno-rtti -fexceptions \
-Wno-write-strings -Wno-multichar -Wno-narrowing \
-Lsrc/extralibs/sdl_draw -Lsrc/extralibs/zlib-1.2.3 \
-D __LINUX__ -D __GCC__ -D __LINUX_ALSASEQ__ -D __MOT_SWAP__ $(CXXFLAGS)

EXEOBJS = ptk.o \
Expand Down

0 comments on commit 0b96ba5

Please sign in to comment.