2011-06-13 14:24:32 +03:00
|
|
|
Index: ase-0.8.2/makefile.gcc
|
|
|
|
===================================================================
|
2011-06-23 17:40:42 +03:00
|
|
|
--- ase-0.8.2.orig/makefile.gcc 2011-06-13 13:08:22.000000000 +0200
|
|
|
|
+++ ase-0.8.2/makefile.gcc 2011-06-21 16:27:06.000000000 +0200
|
2011-06-13 14:24:32 +03:00
|
|
|
@@ -21,15 +21,16 @@
|
|
|
|
LFLAGS += $(THIRD_PARTY_LIBS)
|
|
|
|
|
|
|
|
ifdef PROFILE
|
|
|
|
- CFLAGS += -pg -O3 -DNDEBUG
|
|
|
|
- LFLAGS += -pg -O3 -DNDEBUG
|
|
|
|
+ CFLAGS += -pg -DNDEBUG
|
|
|
|
+ LFLAGS += -pg -DNDEBUG
|
|
|
|
else
|
|
|
|
ifdef DEBUGMODE
|
|
|
|
CFLAGS += -g3 -DDEBUGMODE
|
|
|
|
LFLAGS += -g3
|
|
|
|
else
|
|
|
|
- CFLAGS += -s -O3 -DNDEBUG
|
|
|
|
- LFLAGS += -s -O3 -DNDEBUG
|
|
|
|
+ # order of include dirs important, need to add BUILD_CFLAGS after -I above
|
2011-06-23 17:40:42 +03:00
|
|
|
+ CFLAGS += $(BUILD_CFLAGS)
|
|
|
|
+ LFLAGS +=
|
2011-06-13 14:24:32 +03:00
|
|
|
endif
|
|
|
|
endif
|
|
|
|
|
|
|
|
Index: ase-0.8.2/makefile.linux
|
|
|
|
===================================================================
|
2011-06-23 17:40:42 +03:00
|
|
|
--- ase-0.8.2.orig/makefile.linux 2011-06-13 13:08:22.000000000 +0200
|
|
|
|
+++ ase-0.8.2/makefile.linux 2011-06-13 13:08:40.000000000 +0200
|
2011-06-13 14:24:32 +03:00
|
|
|
@@ -18,8 +18,8 @@
|
|
|
|
CFLAGS = `allegro-config --cflags debug`
|
|
|
|
LFLAGS = `allegro-config --libs debug`
|
|
|
|
else
|
|
|
|
-CFLAGS = `allegro-config --cflags`
|
|
|
|
-LFLAGS = `allegro-config --libs`
|
|
|
|
+CFLAGS =
|
|
|
|
+LFLAGS = $(LDFLAGS)
|
|
|
|
endif
|
|
|
|
|
|
|
|
######################################################################
|