From 5218b6dfe829770737cc07d7cf4bbc161525a6d9 Mon Sep 17 00:00:00 2001 From: Mounir IDRASSI Date: Tue, 24 Jun 2014 00:48:17 +0200 Subject: Add VeraCrypt specific Linux packaging code in Makefiles and add various helper scripts. The original TrueCrypt sources didn't contain anything about this. --- src/Makefile | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src/Makefile') diff --git a/src/Makefile b/src/Makefile index df41baec..33d22a48 100644 --- a/src/Makefile +++ b/src/Makefile @@ -118,6 +118,7 @@ endif #------ Platform configuration ------ export PLATFORM := "Unknown" +export PLATFORM_ARCH := "Unknown" export PLATFORM_UNSUPPORTED := 0 export CPU_ARCH ?= unknown @@ -140,8 +141,10 @@ ifeq "$(origin NOASM)" "command line" endif ifeq "$(CPU_ARCH)" "x86" + PLATFORM_ARCH := i386 C_CXX_FLAGS += -D TC_ARCH_X86 else ifeq "$(CPU_ARCH)" "x64" + PLATFORM_ARCH := amd64 C_CXX_FLAGS += -D TC_ARCH_X64 endif -- cgit v1.2.3