aboutsummaryrefslogtreecommitdiff
path: root/package/fftw
diff options
context:
space:
mode:
authorGravatar Gwenhael Goavec-Merou <gwenhael.goavec-merou@trabucayre.com>2015-04-11 12:41:47 +0200
committerGravatar Thomas Petazzoni <thomas.petazzoni@free-electrons.com>2015-04-11 15:21:31 +0200
commit9cd352f4df400e93dc0a6c0e09f679ae84ed2240 (patch)
treeb109fb00674758775cdae25d334f538ab93dc401 /package/fftw
parent365f6dacdf89e69898d30d5db7a971059cbc0f23 (diff)
downloadbuildroot-9cd352f4df400e93dc0a6c0e09f679ae84ed2240.tar.gz
buildroot-9cd352f4df400e93dc0a6c0e09f679ae84ed2240.tar.bz2
fftw: fix build failure with old gcc
-Ofast is not available on gcc <4.6. This option is equivalent to -O3 -ffast-math. Fixes: http://autobuild.buildroot.org/results/207/207a20a3ca5e62029823b1361479d5cd38fefeb0/ http://autobuild.buildroot.net/results/871/871b29c9bbf94aa05034c442f35c8771f83abe1e/ [Thomas: remove Yann SoB.] Signed-off-by: Gwenhael Goavec-Merou <gwenhael.goavec-merou@trabucayre.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Diffstat (limited to 'package/fftw')
-rw-r--r--package/fftw/fftw.mk2
1 files changed, 1 insertions, 1 deletions
diff --git a/package/fftw/fftw.mk b/package/fftw/fftw.mk
index 11489096fa..5045ab6fed 100644
--- a/package/fftw/fftw.mk
+++ b/package/fftw/fftw.mk
@@ -18,7 +18,7 @@ FFTW_CONF_OPTS += $(if $(BR2_PACKAGE_FFTW_PRECISION_QUAD),--enable,--disable)-qu
FFTW_CFLAGS = $(TARGET_CFLAGS)
ifeq ($(BR2_PACKAGE_FFTW_FAST),y)
-FFTW_CFLAGS += -Ofast
+FFTW_CFLAGS += -O3 -ffast-math
endif
# x86 optimisations