From: Wolfgang Bumiller Date: Sat, 27 Apr 2013 15:00:27 +0000 (+0200) Subject: debian Makefile had the same flaw as archlinux/this... fixing X-Git-Tag: v0.3.0~151^2~61 X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=35120caf80f7571e00a9b8924cfe18d49843cff8;p=xonotic%2Fgmqcc.git debian Makefile had the same flaw as archlinux/this... fixing --- diff --git a/distro/deb/Makefile b/distro/deb/Makefile index df23602..7594400 100644 --- a/distro/deb/Makefile +++ b/distro/deb/Makefile @@ -10,12 +10,14 @@ DEB := $(DEBDIR)-$(CARCH).deb CONTROL := $(DEBDIR)/DEBIAN/control ifneq (, $(findstring i686, $(CARCH))) - CFLAGS := -m32 + CFLAGS += -m32 + LDFLAGS += -m32 endif base: $(MAKE) -C $(BASEDIR) clean - $(MAKE) -C $(BASEDIR) DESTDIR=distro/deb/$(DEBDIR) PREFIX=$(PREFIX) install + CFLAGS="$(CFLAGS)" LDFLAGS="$(LDFLAGS)" \ + $(MAKE) -C $(BASEDIR) DESTDIR=distro/deb/$(DEBDIR) PREFIX=$(PREFIX) install @install -d -m755 $(DEBDIR)/DEBIAN @echo "Package: gmqcc" > $(CONTROL) @echo "Version: $(MAJOR).$(MINOR).$(PATCH)" >> $(CONTROL)