Skip to content

Commit 940158e

Browse files
committed
Use env flags when building
1 parent 474637b commit 940158e

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

makefile.linux

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,10 +4,10 @@ LIBS = src/extralibs/tinyxml/tinyxml.o \
44
src/extralibs/tinyxml/tinyxmlparser.o \
55
src/extralibs/tinyxml/tinystr.o \
66
src/extralibs/tinyxml/tinyxmlerror.o \
7-
-lasound -lSDL -lsdldraw -lz -ljack -lpthread
7+
-lasound -lSDL -lsdldraw -lz -ljack -lpthread $(LDFLAGS)
88

99
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 \
10-
-D __LINUX__ -D __GCC__ -D __LINUX_ALSASEQ__ -D __MOT_SWAP__
10+
-D __LINUX__ -D __GCC__ -D __LINUX_ALSASEQ__ -D __MOT_SWAP__ $(CXXFLAGS)
1111

1212
EXEOBJS = ptk.o \
1313
editor_303.o editor_pattern.o editor_sequencer.o editor_track.o editor_track_fx.o \

0 commit comments

Comments
 (0)