From 36d4b5e22a3b1a3e2ba3569af9fef70fbb7d9c32 Mon Sep 17 00:00:00 2001 From: NiLuJe Date: Wed, 3 Oct 2012 13:37:36 +0200 Subject: [PATCH] Make sure we're building for the softfp float ABI, and not in Thumb. Might fix #359 --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 7b61c754b..a1c26b5ec 100644 --- a/Makefile +++ b/Makefile @@ -35,7 +35,7 @@ HOSTAR:=ar BASE_CFLAGS:=-O2 -ffast-math -pipe -fomit-frame-pointer -fno-stack-protector -U_FORTIFY_SOURCE -D_GNU_SOURCE # Use this for debugging: #BASE_CFLAGS:=-O0 -g -ARM_ARCH:=-march=armv6j -mtune=arm1136jf-s -mfpu=vfp +ARM_ARCH:=-march=armv6j -mtune=arm1136jf-s -mfpu=vfp -mfloat-abi=softfp -marm HOST_ARCH:=-march=native HOSTCFLAGS:=$(HOST_ARCH) $(BASE_CFLAGS) CFLAGS:=$(BASE_CFLAGS)