[patch] use $LDFLAGS in Makefile

This commit is contained in:
Stefan Bühler 2013-05-10 00:00:32 +02:00
parent a70e7581ac
commit d8d649aa33
2 changed files with 22 additions and 0 deletions

View File

@ -0,0 +1,21 @@
From: =?UTF-8?q?Stefan=20B=C3=BChler?= <stbuehler@web.de>
Date: Thu, 9 May 2013 23:59:56 +0200
Subject: use $LDFLAGS in Makefile
---
Makefile | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/Makefile b/Makefile
index d28716d..82e02c3 100644
--- a/Makefile
+++ b/Makefile
@@ -7,7 +7,7 @@ override CFLAGS += -D_REENTRANT $(shell sdl-config --cflags) $(DBG) $(WARNFLAGS)
all: sdlbomber
sdlbomber: announce.o bomber.o draw.o game.o gfx.o sound.o list.o network.o menu.o utils.o
- gcc -o $@ $^ $(shell sdl-config --libs) -lavahi-common -lavahi-client $(DBG)
+ gcc $(LDFLAGS) -o $@ $^ $(shell sdl-config --libs) -lavahi-common -lavahi-client $(DBG)
matcher: matcher.c

1
debian/patches/series vendored Normal file
View File

@ -0,0 +1 @@
0001-use-LDFLAGS-in-Makefile.patch