Make sure we're building for the softfp float ABI, and not in Thumb.

Might fix #359
This commit is contained in:
NiLuJe
2012-10-03 13:37:36 +02:00
committed by Qingping Hou
parent b5134ee4f2
commit 679fce3df4

View File

@@ -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)