From owner-svn-ports-all@FreeBSD.ORG Thu Oct 9 17:59:02 2014 Return-Path: Delivered-To: svn-ports-all@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 1E0B7C92; Thu, 9 Oct 2014 17:59:02 +0000 (UTC) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:1900:2254:2068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 0AE39259; Thu, 9 Oct 2014 17:59:02 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.9/8.14.9) with ESMTP id s99Hx1jU018568; Thu, 9 Oct 2014 17:59:01 GMT (envelope-from tijl@FreeBSD.org) Received: (from tijl@localhost) by svn.freebsd.org (8.14.9/8.14.9/Submit) id s99Hx1c3018567; Thu, 9 Oct 2014 17:59:01 GMT (envelope-from tijl@FreeBSD.org) Message-Id: <201410091759.s99Hx1c3018567@svn.freebsd.org> X-Authentication-Warning: svn.freebsd.org: tijl set sender to tijl@FreeBSD.org using -f From: Tijl Coosemans Date: Thu, 9 Oct 2014 17:59:01 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r370556 - head/Mk X-SVN-Group: ports-head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-all@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: SVN commit messages for the ports tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 09 Oct 2014 17:59:02 -0000 Author: tijl Date: Thu Oct 9 17:59:01 2014 New Revision: 370556 URL: https://svnweb.freebsd.org/changeset/ports/370556 QAT: https://qat.redports.org/buildarchive/r370556/ Log: Modern compilers have more -O* flags that enable strict aliasing. Instead of listing each one, just add -fno-strict-aliasing to CFLAGS unconditionally PR: 186929 Exp-run by: antoine Approved by: portmgr (antoine) Modified: head/Mk/bsd.port.mk Modified: head/Mk/bsd.port.mk ============================================================================== --- head/Mk/bsd.port.mk Thu Oct 9 16:48:27 2014 (r370555) +++ head/Mk/bsd.port.mk Thu Oct 9 17:59:01 2014 (r370556) @@ -2038,7 +2038,7 @@ MAKE_ENV+= PREFIX=${PREFIX} \ # a lot of ports. .if !defined(WITHOUT_NO_STRICT_ALIASING) .if ${CC} != "icc" -.if !empty(CFLAGS:M-O[23s]) && empty(CFLAGS:M-fno-strict-aliasing) +.if empty(CFLAGS:M-fno-strict-aliasing) CFLAGS+= -fno-strict-aliasing .endif .endif