From 56871cdf10a7f536472275c438d987b6036b88a1 Mon Sep 17 00:00:00 2001 From: Jorge Aparicio Date: Thu, 2 Oct 2014 13:36:41 -0500 Subject: [PATCH] Don't pass the -m64 flag to CC when building on ARM --- build/Makefile | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/build/Makefile b/build/Makefile index 7c0fca7c8..e4504c31b 100644 --- a/build/Makefile +++ b/build/Makefile @@ -4,8 +4,10 @@ endif ifneq ($(findstring i686,$(TARGET)),) CC := $(CC) -m32 -else +else ifneq ($(findstring x86_64,$(TARGET)),) CC := $(CC) -m64 -fPIC +else + CC := $(CC) -fPIC endif all: