--- 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