From: Dale Weiler Date: Thu, 21 Mar 2013 04:47:46 +0000 (+0000) Subject: Some protection for cross arch package building X-Git-Tag: before-library~83 X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=c42a853e0ba2d22f3a55583acfa747b430b84d8d;p=xonotic%2Fgmqcc.git Some protection for cross arch package building --- diff --git a/distro/Makefile b/distro/Makefile index ab88955..5c46579 100644 --- a/distro/Makefile +++ b/distro/Makefile @@ -1,3 +1,8 @@ +UNAME := $(shell uname -m) +ifneq ($(shell uname -m), x86_64) + $(error Cannot build packages without an x86_64 capable CPU) +endif + base: $(MAKE) -C deb/ $(MAKE) -C deb/ CARCH=i686 @@ -9,3 +14,5 @@ base: clean: @rm -f *.deb @rm -f *.pkg.tar.xz + +all: base