1 |
mr_bones_ 14/09/01 00:20:19 |
2 |
|
3 |
Added: vdrift-20120722-build.patch |
4 |
Log: |
5 |
version bump (bug #434148) |
6 |
|
7 |
(Portage version: 2.2.8-r1/cvs/Linux x86_64, unsigned Manifest commit) |
8 |
|
9 |
Revision Changes Path |
10 |
1.1 games-sports/vdrift/files/vdrift-20120722-build.patch |
11 |
|
12 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/games-sports/vdrift/files/vdrift-20120722-build.patch?rev=1.1&view=markup |
13 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/games-sports/vdrift/files/vdrift-20120722-build.patch?rev=1.1&content-type=text/plain |
14 |
|
15 |
Index: vdrift-20120722-build.patch |
16 |
=================================================================== |
17 |
--- VDrift.orig/SConstruct |
18 |
+++ VDrift/SConstruct |
19 |
@@ -44,6 +44,7 @@ |
20 |
LIBPATH = ['.', '#lib', LOCALBASE + '/lib'], |
21 |
LINKFLAGS = ['-pthread','-lintl'], |
22 |
options = opts) |
23 |
+ env['LINKFLAGS'] += SCons.Util.CLVar(os.environ['LDFLAGS']) |
24 |
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'] |
25 |
check_libs = [] |
26 |
if 'CC' in os.environ: |
27 |
@@ -380,7 +381,7 @@ |
28 |
if env['release']: |
29 |
# release build, debugging off, optimizations on |
30 |
if (sys.platform != 'freebsd6') and (sys.platform != 'freebsd7') and (sys.platform != 'freebsd8') and (sys.platform != 'freebsd9') and (sys.platform != 'win32') and (sys.platform != 'cygwin'): |
31 |
- env.Append(CCFLAGS = ['-O1', '-pipe']) |
32 |
+ env.Append(CCFLAGS = ['-pipe']) |
33 |
else: |
34 |
# debug build, lots of debugging, no optimizations |
35 |
env.Append(CCFLAGS = ['-g3']) |
36 |
@@ -399,7 +400,6 @@ |
37 |
env.Append(CCFLAGS = ['-pg']) |
38 |
env.Append(LINKFLAGS = ['-pg']) |
39 |
env.Append(CCFLAGS = ['-g3']) |
40 |
- env.Append(CCFLAGS = ['-O1']) |
41 |
|
42 |
#------------------------------------# |
43 |
# compile-time efficiency assessment # |