[patch] use $LDFLAGS in Makefile
This commit is contained in:
parent
a70e7581ac
commit
d8d649aa33
21
debian/patches/0001-use-LDFLAGS-in-Makefile.patch
vendored
Normal file
21
debian/patches/0001-use-LDFLAGS-in-Makefile.patch
vendored
Normal 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
1
debian/patches/series
vendored
Normal file
@ -0,0 +1 @@
|
|||||||
|
0001-use-LDFLAGS-in-Makefile.patch
|
Loading…
Reference in New Issue
Block a user