[Libreoffice-commits] core.git: solenv/gcc-wrappers
Tor Lillqvist
tml at collabora.com
Mon Jul 7 11:20:38 PDT 2014
solenv/gcc-wrappers/wrapper.cxx | 6 +++++-
1 file changed, 5 insertions(+), 1 deletion(-)
New commits:
commit cdcb08c9dfdec86b232bd4ba4a8590e184836376
Author: Tor Lillqvist <tml at collabora.com>
Date: Mon Jul 7 21:19:00 2014 +0300
Use -FS for VS 2013
Change-Id: I3beea86e97a4217128383c01049b2fc19c85c67a
diff --git a/solenv/gcc-wrappers/wrapper.cxx b/solenv/gcc-wrappers/wrapper.cxx
index ba22e16..ccdf206 100644
--- a/solenv/gcc-wrappers/wrapper.cxx
+++ b/solenv/gcc-wrappers/wrapper.cxx
@@ -113,8 +113,12 @@ string processccargs(vector<string> rawargs) {
exit(1);
}
}
- else if(*i == "-g")
+ else if(*i == "-g") {
args.append("-Zi");
+#if _MSC_VER >= 1800
+ args.append(" -FS");
+#endif
+ }
else if(!(*i).compare(0,2,"-D")) {
// need to re-escape strings for preprocessor
for(size_t pos=(*i).find("\"",0); pos!=string::npos; pos=(*i).find("\"",pos)) {
More information about the Libreoffice-commits
mailing list