Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 30 Nov 2012 12:56:42 +0000 (UTC)
From:      Baptiste Daroussin <bapt@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r308006 - in head/games/tycho: . files
Message-ID:  <201211301256.qAUCugZ0086686@svn.freebsd.org>

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



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