SourceMod can now be somewhat compiled on OS X for patch sanity testing (bug 3516, r=ds).
This adds the ability for us to change the GCC version we use more flexibly.
This commit is contained in:
@@ -60,19 +60,18 @@ namespace builder
|
||||
File.Delete(binpath);
|
||||
}
|
||||
|
||||
string makefile_args = "";
|
||||
string makefile_args = "CPP=gcc-4.1 ";
|
||||
|
||||
if (lib.build_mode == BuildMode.BuildMode_Episode1)
|
||||
{
|
||||
makefile_args = null;
|
||||
}
|
||||
else if (lib.build_mode == BuildMode.BuildMode_Episode2)
|
||||
{
|
||||
makefile_args = "ENGINE=\"orangebox\"";
|
||||
makefile_args += "ENGINE=\"orangebox\" ";
|
||||
}
|
||||
else if (lib.build_mode == BuildMode.BuildMode_OldMetamod)
|
||||
{
|
||||
makefile_args = "ENGINE=\"original\"";
|
||||
makefile_args += "ENGINE=\"original\" ";
|
||||
}
|
||||
|
||||
/* Clean the project first */
|
||||
|
||||
Reference in New Issue
Block a user