From owner-svn-ports-head@FreeBSD.ORG Fri Sep 6 11:19:52 2013 Return-Path: Delivered-To: svn-ports-head@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTP id 321BF6A5; Fri, 6 Sep 2013 11:19:52 +0000 (UTC) (envelope-from danfe@FreeBSD.org) 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)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 2018922FC; Fri, 6 Sep 2013 11:19:52 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.7/8.14.7) with ESMTP id r86BJpeG019625; Fri, 6 Sep 2013 11:19:51 GMT (envelope-from danfe@svn.freebsd.org) Received: (from danfe@localhost) by svn.freebsd.org (8.14.7/8.14.5/Submit) id r86BJpSK019624; Fri, 6 Sep 2013 11:19:51 GMT (envelope-from danfe@svn.freebsd.org) Message-Id: <201309061119.r86BJpSK019624@svn.freebsd.org> From: Alexey Dokuchaev Date: Fri, 6 Sep 2013 11:19:51 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r326489 - head/games/cleanq3/files X-SVN-Group: ports-head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-head@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: SVN commit messages for the ports tree for head List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 06 Sep 2013 11:19:52 -0000 Author: danfe Date: Fri Sep 6 11:19:51 2013 New Revision: 326489 URL: http://svnweb.freebsd.org/changeset/ports/326489 Log: Change bogus optimization option -O6 to a more sane -O3 to unbreak the build against Clang. Reported by: pkg-fallout Modified: head/games/cleanq3/files/patch-code-unix-Makefile Modified: head/games/cleanq3/files/patch-code-unix-Makefile ============================================================================== --- head/games/cleanq3/files/patch-code-unix-Makefile Fri Sep 6 11:09:54 2013 (r326488) +++ head/games/cleanq3/files/patch-code-unix-Makefile Fri Sep 6 11:19:51 2013 (r326489) @@ -61,9 +61,9 @@ -GL_CFLAGS = -I$(MESADIR)/include -I/usr/X11R6/include +ifdef OPTIMIZED_CFLAGS + ifeq ($(ARCH),i386) -+RELEASE_CFLAGS=$(BASE_CFLAGS) -O6 -fomit-frame-pointer -pipe -ffast-math -falign-loops=2 -falign-jumps=2 -falign-functions=2 -fno-strict-aliasing -fstrength-reduce ++RELEASE_CFLAGS=$(BASE_CFLAGS) -O3 -fomit-frame-pointer -pipe -ffast-math -falign-loops=2 -falign-jumps=2 -falign-functions=2 -fno-strict-aliasing -fstrength-reduce + else -+RELEASE_CFLAGS=$(BASE_CFLAGS) -O6 -ffast-math -funroll-loops -fomit-frame-pointer -fexpensive-optimizations ++RELEASE_CFLAGS=$(BASE_CFLAGS) -O3 -ffast-math -funroll-loops -fomit-frame-pointer -fexpensive-optimizations + endif +endif