mirror of
https://github.com/ultimatepp/ultimatepp.git
synced 2026-05-21 06:45:39 -06:00
*ide: MSC & GCC builders fixed issue with compiler options (thanks Massimo)
git-svn-id: svn://ultimatepp.org/upp/trunk@4425 f0d560ea-af0d-0410-9eb7-867de7ffcac7
This commit is contained in:
parent
537d62fdb7
commit
3ab7261388
2 changed files with 3 additions and 3 deletions
|
|
@ -193,7 +193,7 @@ bool GccBuilder::BuildPackage(const String& package, Vector<String>& linkfile,
|
|||
exec << fuse_cxa_atexit << " -x objective-c++ ";
|
||||
else
|
||||
exec << fuse_cxa_atexit << " -x c++ ";
|
||||
exec << GetHostPathQ(fn) << " -o " << GetHostPathQ(objfile);
|
||||
exec << GetHostPathQ(fn) << " " << soptions[i] << " -o " << GetHostPathQ(objfile);
|
||||
PutVerbose(exec);
|
||||
int slot = AllocSlot();
|
||||
execerr = (slot < 0 || !Run(exec, slot, GetHostPath(objfile), 1));
|
||||
|
|
|
|||
|
|
@ -314,8 +314,8 @@ bool MscBuilder::BuildPackage(const String& package, Vector<String>& linkfile, S
|
|||
c = cc_speed;
|
||||
int slot = AllocSlot();
|
||||
if(slot < 0 || !Run(c + PdbPch(package, slot, !sContainsPchOptions(cc) && !sContainsPchOptions(soptions[i]))
|
||||
+ soptions[i] + (ext == ".c" ? " -Tc " : " -Tp ")
|
||||
+ GetHostPathQ(fn) + " -Fo" + GetHostPathQ(objfile), slot, GetHostPath(objfile), 1))
|
||||
+ " " + soptions[i] + (ext ".c" ? " -Tc " : " -Tp ")
|
||||
+ GetHostPathQ(fn) + " -Fo" + GetHostPathQ(objfile), slot, GetHostPath(objfile), 1))
|
||||
execerr = true;
|
||||
}
|
||||
if(execerr)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue