solenv/gcc-wrappers/wrapper.cxx | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-)
New commits: commit 471b844915cc3d7036cb0fd88b40eeb049f5b54d Author: Michael Stahl <[email protected]> Date: Mon Jan 8 20:50:18 2018 +0100 gcc-wrappers: always pass -debug to linker ... like gbuild does; this causes a PDB file to be created, which is required by BinScope. Stops complaints about firebird's DLLs, which are apparently the only DLLs linked with gcc-wrapper. Change-Id: Ibe0e8053e0556748b1562b5f50f08480b2f2f89b diff --git a/solenv/gcc-wrappers/wrapper.cxx b/solenv/gcc-wrappers/wrapper.cxx index eb8954bc9764..b156c89dc220 100644 --- a/solenv/gcc-wrappers/wrapper.cxx +++ b/solenv/gcc-wrappers/wrapper.cxx @@ -97,7 +97,8 @@ string processccargs(vector<string> rawargs) { // apparently these must be at the end // otherwise configure tests may fail - string linkargs(" -link"); + // note: always use -debug so a PDB file is created + string linkargs(" -link -debug"); for(vector<string>::iterator i = rawargs.begin(); i != rawargs.end(); ++i) { args.append(" "); _______________________________________________ Libreoffice-commits mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits
