Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 6 Sep 2013 11:19:51 +0000 (UTC)
From:      Alexey Dokuchaev <danfe@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r326489 - head/games/cleanq3/files
Message-ID:  <201309061119.r86BJpSK019624@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
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
  



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201309061119.r86BJpSK019624>