summaryrefslogtreecommitdiff
path: root/devel/linux-kernel/files/patch-Makefile
blob: 1be4100cf1bdb9ab6f28ba9e4663b9b3c677c3c9 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
--- Makefile.orig	2016-12-12 13:41:07 UTC
+++ Makefile
@@ -225,7 +225,7 @@ export srctree objtree VPATH
 # then ARCH is assigned, getting whatever value it gets normally, and
 # SUBARCH is subsequently ignored.
 
-SUBARCH := $(shell uname -m | sed -e s/i.86/x86/ -e s/x86_64/x86/ \
+SUBARCH := $(shell uname -m | sed -e s/i.86/x86/ -e s/amd64/x86/ \
 				  -e s/sun4u/sparc64/ \
 				  -e s/arm.*/arm/ -e s/sa110/arm/ \
 				  -e s/s390x/s390/ -e s/parisc64/parisc/ \