From patchwork Sat Apr 11 10:41:47 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Gwenhael Goavec-Merou X-Patchwork-Id: 460351 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from silver.osuosl.org (silver.osuosl.org [140.211.166.136]) by ozlabs.org (Postfix) with ESMTP id 145FE14011D for ; Sat, 11 Apr 2015 20:39:53 +1000 (AEST) Received: from localhost (localhost [127.0.0.1]) by silver.osuosl.org (Postfix) with ESMTP id 41DFB31529; Sat, 11 Apr 2015 10:39:52 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from silver.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id QQCaLAGicZx5; Sat, 11 Apr 2015 10:39:50 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by silver.osuosl.org (Postfix) with ESMTP id B96BE3156C; Sat, 11 Apr 2015 10:39:50 +0000 (UTC) X-Original-To: buildroot@lists.busybox.net Delivered-To: buildroot@osuosl.org Received: from whitealder.osuosl.org (whitealder.osuosl.org [140.211.166.138]) by ash.osuosl.org (Postfix) with ESMTP id 50BEA1C22D3 for ; Sat, 11 Apr 2015 10:39:50 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by whitealder.osuosl.org (Postfix) with ESMTP id 4ACD48BC7B for ; Sat, 11 Apr 2015 10:39:50 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from whitealder.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 8p7hSZ9syFai for ; Sat, 11 Apr 2015 10:39:49 +0000 (UTC) X-Greylist: whitelisted by SQLgrey-1.7.6 Received: from smtp2-g21.free.fr (smtp2-g21.free.fr [212.27.42.2]) by whitealder.osuosl.org (Postfix) with ESMTPS id 32DDF8BB62 for ; Sat, 11 Apr 2015 10:39:49 +0000 (UTC) Received: from x230.trabucayre.com (unknown [81.56.132.22]) by smtp2-g21.free.fr (Postfix) with ESMTP id 1D9704B00D1; Sat, 11 Apr 2015 12:37:22 +0200 (CEST) From: Gwenhael Goavec-Merou To: buildroot@busybox.net Date: Sat, 11 Apr 2015 12:41:47 +0200 Message-Id: <1428748907-3319-1-git-send-email-gwenj@trabucayre.com> X-Mailer: git-send-email 2.0.5 Cc: Thomas Petazzoni , Gwenhael Goavec-Merou , "Yann E. MORIN" Subject: [Buildroot] [PATCH 1/1] fftw: fix build failure with old gcc X-BeenThere: buildroot@busybox.net X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: Discussion and development of buildroot List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Errors-To: buildroot-bounces@busybox.net Sender: "buildroot" From: Gwenhael Goavec-Merou -Ofast is not available on gcc <2.6. This option is equivalent to -O3 -ffast-math. Fixes: http://autobuild.buildroot.org/results/207/207a20a3ca5e62029823b1361479d5cd38fefeb0/ http://autobuild.buildroot.net/results/871/871b29c9bbf94aa05034c442f35c8771f83abe1e/ Signed-off-by: Gwenhael Goavec-Merou Signed-off-by: Yann E. MORIN --- package/fftw/fftw.mk | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package/fftw/fftw.mk b/package/fftw/fftw.mk index 1148909..5045ab6 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