From owner-freebsd-ports-bugs@FreeBSD.ORG Wed Feb 26 05:36:49 2014 Return-Path: Delivered-To: freebsd-ports-bugs@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id A0612AF4; Wed, 26 Feb 2014 05:36:49 +0000 (UTC) Received: from gw.catspoiler.org (gw.catspoiler.org [75.1.14.242]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 60FE21C5F; Wed, 26 Feb 2014 05:36:49 +0000 (UTC) Received: from FreeBSD.org (mousie.catspoiler.org [192.168.101.2]) by gw.catspoiler.org (8.13.3/8.13.3) with ESMTP id s1Q5af8w080471; Tue, 25 Feb 2014 21:36:45 -0800 (PST) (envelope-from truckman@FreeBSD.org) Message-Id: <201402260536.s1Q5af8w080471@gw.catspoiler.org> Date: Tue, 25 Feb 2014 21:36:41 -0800 (PST) From: Don Lewis Subject: Re: ports/186998: [patch] math/fftw3 port fails during configure on i386 with clang To: FreeBSD-gnats-submit@FreeBSD.org In-Reply-To: <201402240610.s1O6A0e6011876@freefall.freebsd.org> MIME-Version: 1.0 Content-Type: TEXT/plain; charset=us-ascii Cc: freebsd-ports-bugs@FreeBSD.org X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.17 Precedence: list List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 26 Feb 2014 05:36:49 -0000 This is probably a better patch: Index: Makefile =================================================================== --- Makefile (revision 345674) +++ Makefile (working copy) @@ -19,7 +19,7 @@ FFTW3_SUFX= GNU_CONFIGURE= yes -USES= pathfix perl5 pkgconfig +USES= pathfix perl5 pkgconfig compiler:features USE_PERL5= build USE_LDCONFIG= yes @@ -62,7 +62,9 @@ CFLAGS+= -fomit-frame-pointer . endif . if ${ARCH} == "i386" +. if ${COMPILER_TYPE} == "gcc" CFLAGS+= -malign-double +. endif . endif WITHOUT_NO_STRICT_ALIASING= yes .endif # end OPTIMIZED_CFLAGS