Root/ase/patches/010-makefile.patch

1Index: ase-0.8.2/makefile.gcc
2===================================================================
3--- ase-0.8.2.orig/makefile.gcc 2011-06-13 13:08:22.000000000 +0200
4+++ ase-0.8.2/makefile.gcc 2011-06-21 16:27:06.000000000 +0200
5@@ -21,15 +21,16 @@
6 LFLAGS += $(THIRD_PARTY_LIBS)
7 
8 ifdef PROFILE
9- CFLAGS += -pg -O3 -DNDEBUG
10- LFLAGS += -pg -O3 -DNDEBUG
11+ CFLAGS += -pg -DNDEBUG
12+ LFLAGS += -pg -DNDEBUG
13 else
14 ifdef DEBUGMODE
15   CFLAGS += -g3 -DDEBUGMODE
16   LFLAGS += -g3
17 else
18- CFLAGS += -s -O3 -DNDEBUG
19- LFLAGS += -s -O3 -DNDEBUG
20+ # order of include dirs important, need to add BUILD_CFLAGS after -I above
21+ CFLAGS += $(BUILD_CFLAGS)
22+ LFLAGS +=
23 endif
24 endif
25 
26Index: ase-0.8.2/makefile.linux
27===================================================================
28--- ase-0.8.2.orig/makefile.linux 2011-06-13 13:08:22.000000000 +0200
29+++ ase-0.8.2/makefile.linux 2011-06-13 13:08:40.000000000 +0200
30@@ -18,8 +18,8 @@
31 CFLAGS = `allegro-config --cflags debug`
32 LFLAGS = `allegro-config --libs debug`
33 else
34-CFLAGS = `allegro-config --cflags`
35-LFLAGS = `allegro-config --libs`
36+CFLAGS =
37+LFLAGS = $(LDFLAGS)
38 endif
39 
40 ######################################################################
41

Archive Download this file



interactive