You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
gentoo-overlay/app-crypt/veracrypt/files/veracrypt-1.19-makefile-arc...

27 lines
743 B

From 181857089b11045c701e9195275a408430beb580 Mon Sep 17 00:00:00 2001
From: Mounir IDRASSI <mounir.idrassi@idrix.fr>
Date: Sat, 5 Nov 2016 23:39:46 +0100
Subject: [PATCH] Linux: Always use "uname -m" to determine processor type.
This fixes Slackware build issue.
---
src/Makefile | 5 +----
1 file changed, 1 insertion(+), 4 deletions(-)
diff --git a/src/Makefile b/src/Makefile
index 7bfc5ad..00e6e5b 100644
--- src/Makefile
+++ src/Makefile
@@ -131,10 +131,7 @@ export PLATFORM_UNSUPPORTED := 0
export CPU_ARCH ?= unknown
export SIMD_SUPPORTED := 0
-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