summaryrefslogtreecommitdiffstats
path: root/Makefile.config
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile.config')
-rw-r--r--Makefile.config6
1 files changed, 3 insertions, 3 deletions
diff --git a/Makefile.config b/Makefile.config
index ae1d66555..dabf65a5b 100644
--- a/Makefile.config
+++ b/Makefile.config
@@ -8,10 +8,10 @@ DISTRIB_DESCR = "$(_DISTRIB_NAME) release $(DISTRIB_VERSION)"
# not config, but useful everywhere :)
ARCH := $(patsubst i%86,i386,$(shell uname -m))
-ARCH := $(patsubst sparc%,sparc,$(ARCH))
-ARCH := $(patsubst arm%,arm,$(ARCH))
+ARCH := $(ARCH:sparc%=sparc)
+ARCH := $(ARCH:arm%=arm)
-PKG_ARCH := $(patsubst i386,i586,$(ARCH))
+PKG_ARCH := $(ARCH:i386=i586)
ifeq (x86_64, $(ARCH))
LIB = lib64