svn commit: r308006 - in head/games/tycho: . files

Baptiste Daroussin bapt at FreeBSD.org
Fri Nov 30 12:56:42 UTC 2012


Author: bapt
Date: Fri Nov 30 12:56:41 2012
New Revision: 308006
URL: http://svnweb.freebsd.org/changeset/ports/308006

Log:
  Fix build with clang removing -O4 which means LTO for clang
  
  Feature safe:	yes

Modified:
  head/games/tycho/Makefile
  head/games/tycho/files/patch-Makefile

Modified: head/games/tycho/Makefile
==============================================================================
--- head/games/tycho/Makefile	Fri Nov 30 12:49:00 2012	(r308005)
+++ head/games/tycho/Makefile	Fri Nov 30 12:56:41 2012	(r308006)
@@ -1,9 +1,5 @@
-# New ports collection makefile for:	tycho
-# Date created:				2008-01-16
-# Whom:					alepulver
-#
+# Created by: Alejandro Pulver <alepulver at FreeBSD.org>
 # $FreeBSD$
-#
 
 PORTNAME=	tycho
 PORTVERSION=	0.1

Modified: head/games/tycho/files/patch-Makefile
==============================================================================
--- head/games/tycho/files/patch-Makefile	Fri Nov 30 12:49:00 2012	(r308005)
+++ head/games/tycho/files/patch-Makefile	Fri Nov 30 12:56:41 2012	(r308006)
@@ -1,12 +1,14 @@
---- ./Makefile.orig	Thu Sep  4 12:44:24 2003
-+++ ./Makefile	Wed Jan 16 19:36:13 2008
-@@ -1,7 +1,7 @@
+--- Makefile.orig	2003-09-04 17:44:24.000000000 +0200
++++ Makefile	2012-11-30 13:54:33.684116105 +0100
+@@ -1,8 +1,8 @@
  # $Id: Makefile,v 1.3 2003/09/04 15:44:24 varfar Exp $
  
 -CC = gcc
 -CFLAGS = ${OPT} ${DBG} -DSIM_STRIP_FLAGS=1
+-OPT = -O4 -fomit-frame-pointer
 +CC ?= gcc
 +CFLAGS += ${OPT} ${DBG} -DSIM_STRIP_FLAGS=1
- OPT = -O4 -fomit-frame-pointer
++OPT = -fomit-frame-pointer
  #DBG = -g -DDEBUG=2
  
+ # Recommended extra options for gcc:


More information about the svn-ports-head mailing list