summaryrefslogtreecommitdiff
path: root/solenv/gcc-wrappers
diff options
context:
space:
mode:
authorTor Lillqvist <tml@collabora.com>2014-07-07 21:19:00 +0300
committerTor Lillqvist <tml@collabora.com>2014-07-07 21:19:00 +0300
commitcdcb08c9dfdec86b232bd4ba4a8590e184836376 (patch)
treedfbe0cd52387fc2324b9c8e7dc85b8926bf07b41 /solenv/gcc-wrappers
parent3efe9b2954797d01970a088eec55817751304b4a (diff)
Use -FS for VS 2013
Change-Id: I3beea86e97a4217128383c01049b2fc19c85c67a
Diffstat (limited to 'solenv/gcc-wrappers')
-rw-r--r--solenv/gcc-wrappers/wrapper.cxx6
1 files changed, 5 insertions, 1 deletions
diff --git a/solenv/gcc-wrappers/wrapper.cxx b/solenv/gcc-wrappers/wrapper.cxx
index ba22e1642630..ccdf2065ffed 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)) {