solenv/gcc-wrappers/wrapper.cxx | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-)
New commits: commit cdcb08c9dfdec86b232bd4ba4a8590e184836376 Author: Tor Lillqvist <t...@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)) { _______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits