aboutsummaryrefslogtreecommitdiff
path: root/games/windstille/files/patch-src-SConstruct
blob: 0a0e942aeafdd6bcf07eb61bf87ff8165ba78bc6 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
--- src/SConscript.orig	Wed Jun 13 07:04:35 2007
+++ src/SConscript	Thu Jun 14 15:51:17 2007
@@ -26,11 +26,10 @@
 
 Import('conf_env')
 
-env = Environment(CC = 'gcc',
-                  CXX = 'g++',
-                  CXXFLAGS = ['-O0', '-Wall', '-Werror', '-g', '-DDEBUG'] + conf_env['CXXFLAGS'])
-
-env.Append(CXXFLAGS = conf_env['CXXFLAGS'])
+env = conf_env.Copy()
+env.Append(LIBS    = ['GL', 'GLU', 'squirrel', 'physfs', 'SDL_image', 'openal', 'glew', 'ogg', 'vorbis', 'vorbisfile', 'png'])
+env.Append(LIBPATH = ['../lib/'] )
+env.Append(CPPPATH = ['.', '..', '../lib/SQUIRREL2/include/', '../lib/glew'])
 
 # env.Copy(LIBS = ['a', 'b'])
 
@@ -184,9 +183,6 @@
 'sprite3d/sprite3d.cpp',
 'tinygettext/gettext.cpp',
 'tinygettext/tinygettext.cpp'
-],
-LIBS    = ['GL', 'GLU', 'squirrel', 'physfs', 'SDL_image', 'openal', 'glew', 'ogg', 'vorbis', 'vorbisfile', 'png'] + env['LIBS'],
-LIBPATH = ['../lib/'],
-CPPPATH = env['CPPPATH'] + ['.', '..', '../lib/SQUIRREL2/include/', '../lib/glew'])
+])
 
 # EOF #