[xgalaga] 15/16: Add LDFLAGS to build

Markus Koschany apo-guest at moszumanska.debian.org
Sat Dec 12 20:46:52 UTC 2015


This is an automated email from the git hooks/post-receive script.

apo-guest pushed a commit to branch master
in repository xgalaga.

commit de463785040cfecbebe2bf69a35a6ee8781321f2
Author: Markus Koschany <apo at debian.org>
Date:   Sat Dec 12 21:33:01 2015 +0100

    Add LDFLAGS to build
---
 debian/rules | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/debian/rules b/debian/rules
index db3c85f..3bb63d9 100755
--- a/debian/rules
+++ b/debian/rules
@@ -3,7 +3,7 @@
 CFLAGS = -Wall -g -DXF86VIDMODE
 CFLAGS += $(shell dpkg-buildflags --get CFLAGS)
 CFLAGS += $(shell dpkg-buildflags --get CPPFLAGS)
-CFLAGS += $(shell dpkg-buildflags --get LDFLAGS)
+LDFLAGS = $(shell dpkg-buildflags --get LDFLAGS)
 
 ifneq (,$(filter noopt,$(DEB_BUILD_OPTIONS)))
 	CFLAGS += -O0
@@ -24,7 +24,7 @@ build-stamp:
 	ln -sf /usr/share/misc/config.guess
 	LIBS=-lXxf86vm ./configure \
 		--prefix=/usr/share/games/xgalaga \
-		--exec-prefix=/usr/games CFLAGS="$(CFLAGS)"
+		--exec-prefix=/usr/games CFLAGS="$(CFLAGS)" LDFLAGS="$(LDFLAGS)"
 	# hack SOUNDDEFS so we don't need symlinks
 	$(MAKE) SOUNDDEFS=-DSOUNDSERVER=\\\"/usr/lib/games/xgalaga/$$\(SOUNDSRV\)\\\"
 	touch build-stamp

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-games/xgalaga.git



More information about the Pkg-games-commits mailing list