From 9520c9b662eb6e5db12509c28db9be9cf0be44e5 Mon Sep 17 00:00:00 2001 From: NiLuJe Date: Wed, 3 Oct 2012 14:50:29 +0200 Subject: [PATCH] Add -fno-finite-math-only (after -ffast-math) to the ARM flags to avoid MG 2012.03 pulling GLIBC_2.15 symbols from libm (because -ffast-math asks for it). I didn't see this on my own TC because it's using a much older glibc version (2.9). --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 6283b9345..0b05e8ed3 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 -mfloat-abi=softfp -marm +ARM_ARCH:=-march=armv6j -mtune=arm1136jf-s -mfpu=vfp -mfloat-abi=softfp -marm -fno-finite-math-only HOST_ARCH:=-march=native HOSTCFLAGS:=$(HOST_ARCH) $(BASE_CFLAGS) CFLAGS:=$(BASE_CFLAGS)