1 --- pingus-0.7.1/src/input/SConstruct.main~ 2007-09-03 19:17:58.000000000 +0200
2 +++ pingus-0.7.1/src/input/SConstruct.main 2007-09-23 22:01:17.000000000 +0200
6 -env = Environment(CCFLAGS = ['-O0', '-Wall', '-Werror', '-g'],
7 +env = Environment(CXX = ARGUMENTS.get('CXX', 'g++'),
8 + CC = ARGUMENTS.get('CC', 'gcc'),
9 + CCFLAGS = ARGUMENTS.get('CXXFLAGS', ['-O2', '-Wall', '-Werror', '-g']),
10 CPPPATH = ['..', '../..'],
11 CPPDEFINES = ['HAVE_CWIID'],
13 --- pingus-0.7.1/src/pingus_main.cpp~ 2007-09-22 17:58:45.000000000 +0200
14 +++ pingus-0.7.1/src/pingus_main.cpp 2007-09-23 22:04:32.000000000 +0200
16 path_manager.add_path("data"); // assume game is run from source dir, without any magic
19 + path_manager.add_path("/usr/share/pingus/data");
20 path_manager.add_path("data"); // assume game is run from source dir
23 --- pingus-0.7.1/SConstruct~ 2007-09-22 17:46:31.000000000 +0200
24 +++ pingus-0.7.1/SConstruct 2007-09-23 22:07:59.000000000 +0200
26 opts.Add('LINKFLAGS', 'Linker Compiler flags', [])
27 opts.Add('CC', 'C Compiler', 'gcc')
28 opts.Add('CXX', 'C++ Compiler', 'g++')
29 + opts.Add('CXXFLAGS', 'compiler flags')
30 # opts.Add('debug', 'Build with debugging options', 0)
31 # opts.Add('profile', 'Build with profiling support', 0)
32 opts.Add('with_xinput', 'Build with Xinput support', False)