[med-svn] [euler-sr] 02/12: Enable building on other archs than i386

Andreas Tille tille at debian.org
Tue Dec 5 15:29:41 UTC 2017


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

tille pushed a commit to branch master
in repository euler-sr.

commit f39445ae3748797eaf06446b5e46701fdd3c96ea
Author: Andreas Tille <tille at debian.org>
Date:   Mon Dec 22 14:09:30 2008 +0000

    Enable building on other archs than i386
---
 debian/rules | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/debian/rules b/debian/rules
index 6d72c6c..dc7f493 100755
--- a/debian/rules
+++ b/debian/rules
@@ -9,7 +9,7 @@ include /usr/share/cdbs/1/class/makefile.mk
 pkg=euler-sr
 
 # EUSRC ?= $(shell pwd)
-MACHTYPE=i686
+MACHTYPE ?= $(shell dpkg-architecture -qDEB_BUILD_ARCH | sed s/i386/i686/)
 
 DEB_MAKE_CLEAN_TARGET = clean MACHTYPE=$(MACHTYPE) EUSRC=`pwd`
 DEB_MAKE_BUILD_TARGET = all   MACHTYPE=$(MACHTYPE) EUSRC=`pwd`

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-med/euler-sr.git



More information about the debian-med-commit mailing list