diff --git a/sys/debian/arch.mk b/sys/debian/arch.mk new file mode 100644 index 0000000000..38ac8dba09 --- /dev/null +++ b/sys/debian/arch.mk @@ -0,0 +1,4 @@ +ARCH=$(shell uname -m) +ifeq ($(ARCH),x86_64) +ARCH=amd64 +endif diff --git a/sys/debian/radare2-dev/CONFIG b/sys/debian/radare2-dev/CONFIG index 6e7cf1018a..4ebe3df69e 100644 --- a/sys/debian/radare2-dev/CONFIG +++ b/sys/debian/radare2-dev/CONFIG @@ -4,6 +4,4 @@ PRIORITY=optional MAINTAINER=pancake include ../../../config-user.mk -ARCH=$(shell uname -m) -#VERSION=0.10.0 -#ARCH=iphoneos-arm +include ../arch.mk diff --git a/sys/debian/radare2/CONFIG b/sys/debian/radare2/CONFIG index 7d388589a3..ebbc35a233 100644 --- a/sys/debian/radare2/CONFIG +++ b/sys/debian/radare2/CONFIG @@ -4,6 +4,4 @@ PRIORITY=optional MAINTAINER=pancake include ../../../config-user.mk -ARCH=$(shell uname -m) -#VERSION=0.10.0 -#ARCH=iphoneos-arm +include ../arch.mk