Make sure linux uses gcc-4.1.

This commit is contained in:
David Anderson 2009-08-29 22:39:09 -07:00
parent cb08a96836
commit 3fdf350f7b
2 changed files with 2 additions and 2 deletions

View File

@ -140,7 +140,7 @@ class SM:
#Finish up
self.compiler.AddToListVar('CDEFINES', 'SOURCEMOD_BUILD')
self.compiler.AddToListVar('CDEFINES', 'SM_GENERATED_BUILD')
self.compiler.AddToListVar('CXXINCLUDES',
self.compiler.AddToListVar('CINCLUDES',
os.path.join(AMBuild.outputFolder, 'includes'))
self.compiler.ToConfig(AMBuild, 'compiler')
AMBuild.cache.CacheVariable('vendor', self.vendor)

View File

@ -44,7 +44,7 @@ if ($reconf) {
my ($result);
print "Attempting to reconfigure...\n";
if ($^O eq "linux") {
$result = `python3.1 ../build/configure.py --enable-optimize`;
$result = `CC=gcc-4.1 CXX=gcc-4.1 python3.1 ../build/configure.py --enable-optimize`;
} else {
$result = `C:\\Python31\\Python.exe ..\\build\\configure.py --enable-optimize`;
}