public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] gentoo-x86 commit in games-sports/vdrift/files: vdrift-20120722-build.patch
@ 2014-09-01  0:20 Michael Sterrett (mr_bones_)
  0 siblings, 0 replies; only message in thread
From: Michael Sterrett (mr_bones_) @ 2014-09-01  0:20 UTC (permalink / raw
  To: gentoo-commits

mr_bones_    14/09/01 00:20:19

  Added:                vdrift-20120722-build.patch
  Log:
  version bump (bug #434148)
  
  (Portage version: 2.2.8-r1/cvs/Linux x86_64, unsigned Manifest commit)

Revision  Changes    Path
1.1                  games-sports/vdrift/files/vdrift-20120722-build.patch

file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/games-sports/vdrift/files/vdrift-20120722-build.patch?rev=1.1&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/games-sports/vdrift/files/vdrift-20120722-build.patch?rev=1.1&content-type=text/plain

Index: vdrift-20120722-build.patch
===================================================================
--- VDrift.orig/SConstruct
+++ VDrift/SConstruct
@@ -44,6 +44,7 @@
         LIBPATH = ['.', '#lib', LOCALBASE + '/lib'],
         LINKFLAGS = ['-pthread','-lintl'],
         options = opts)
+    env['LINKFLAGS'] += SCons.Util.CLVar(os.environ['LDFLAGS'])
     check_headers = ['GL/gl.h', 'GL/glu.h', 'SDL/SDL.h', 'SDL/SDL_image.h', 'SDL/SDL_rotozoom.h', 'vorbis/vorbisfile.h', 'GL/glew.h', 'bullet/btBulletCollisionCommon.h']
     check_libs = []
     if 'CC' in os.environ:
@@ -380,7 +381,7 @@
 if env['release']:
     # release build, debugging off, optimizations on
     if (sys.platform != 'freebsd6') and (sys.platform != 'freebsd7') and (sys.platform != 'freebsd8') and (sys.platform != 'freebsd9') and (sys.platform != 'win32') and (sys.platform != 'cygwin'):
-        env.Append(CCFLAGS = ['-O1', '-pipe'])
+        env.Append(CCFLAGS = ['-pipe'])
 else:
     # debug build, lots of debugging, no optimizations
     env.Append(CCFLAGS = ['-g3'])
@@ -399,7 +400,6 @@
     env.Append(CCFLAGS = ['-pg'])
     env.Append(LINKFLAGS = ['-pg'])
     env.Append(CCFLAGS = ['-g3'])
-    env.Append(CCFLAGS = ['-O1'])
 
 #------------------------------------#
 # compile-time efficiency assessment #






^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2014-09-01  0:20 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-09-01  0:20 [gentoo-commits] gentoo-x86 commit in games-sports/vdrift/files: vdrift-20120722-build.patch Michael Sterrett (mr_bones_)

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox