Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Smarter about detecting debian "architecture". Now properly builds

on i386 & amd64.
  • Loading branch information...
commit f387903efabd06ca9af004d0a0b55b5cd17bde0a 1 parent 736f726
James Martin authored
Showing with 1 addition and 5 deletions.
  1. +1 −5 package/Makefile
View
6 package/Makefile
@@ -10,11 +10,7 @@ OSNAME = Debian
PKGERDIR = deb
BUILDDIR = debuild
DISTRO = $(shell lsb_release -c|awk '{print $$2}')
-ifeq ($(ARCH),x86_64)
-DEBARCH = amd64
-else
-DEBARCH = ${ARCH}
-endif # deb arch check
+DEBARCH = $(shell dpkg-architecture -qDEB_BUILD_ARCH)
else # Redhat / Centos
OSNAME = RedHat
PKGERDIR = rpm
Please sign in to comment.
Something went wrong with that request. Please try again.