summaryrefslogtreecommitdiff
blob: 6426544e60f68b485739b347fe8b759e1d73d995 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
--- dumb-0.9.3.orig/make/Makefile.inc	2010-01-11 13:47:27.426643138 +0100
+++ dumb-0.9.3/make/Makefile.inc	2010-01-11 13:50:42.488400053 +0100
@@ -33,7 +33,7 @@
 	$(CC) $(CFLAGS) $(WFLAGS_ALLEGRO) -c -o $@ $<
 
 $(CORE_LIB_FILE): $(CORE_OBJECTS)
-	$(CC) -shared -o $@ -Wl,-shared,-soname,$(shell basename $@) -lm $^
+	$(CC) -shared -o $@ $(LDFLAGS) -Wl,-shared,-soname,$(shell basename $@) $^ -lm
 
 $(ALLEGRO_LIB_FILE): $(ALLEGRO_OBJECTS)
-	$(CC) -shared -o $@ -Wl,-shared,-soname,$(shell basename $@) -lm $^
+	$(CC) -shared -o $@ $(LDFLAGS) -Wl,-shared,-soname,$(shell basename $@) $^ -lm