mirror of
https://github.com/DarkPlacesEngine/gmqcc.git
synced 2025-03-21 10:21:03 +00:00
Some protection for cross arch package building
This commit is contained in:
parent
1b02a5204a
commit
c42a853e0b
1 changed files with 7 additions and 0 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue