svn commit: r326489 - head/games/cleanq3/files

Alexey Dokuchaev danfe at FreeBSD.org
Fri Sep 6 11:19:52 UTC 2013


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
  


More information about the svn-ports-all mailing list