aboutsummaryrefslogtreecommitdiffstats
path: root/main/truecrypt/truecrypt-arch-detection.patch
blob: bc16a2a36e2deee30e11ef1f3c7452b2ebf2f841 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
diff -urN truecrypt-7.0a-source/Makefile truecrypt-7.0a-source.fixed/Makefile
--- truecrypt-7.0a-source/Makefile	2010-09-05 10:32:10.000000000 -0400
+++ truecrypt-7.0a-source.fixed/Makefile	2011-07-05 21:41:50.296437879 -0400
@@ -120,10 +120,7 @@
 
 export CPU_ARCH ?= unknown
 
-ARCH = $(shell uname -p)
-ifeq "$(ARCH)" "unknown"
-	ARCH = $(shell uname -m)
-endif
+ARCH = $(shell uname -m)
 
 ifneq (,$(filter i386 i486 i586 i686 x86,$(ARCH)))
 	CPU_ARCH = x86