summaryrefslogtreecommitdiff
path: root/solenv
diff options
context:
space:
mode:
authorMichael Stahl <mstahl@redhat.com>2018-01-08 20:50:18 +0100
committerMichael Stahl <mstahl@redhat.com>2018-01-08 20:53:29 +0100
commit471b844915cc3d7036cb0fd88b40eeb049f5b54d (patch)
tree3dfb2d467189c737d2f0a8048e7896c91ecb7544 /solenv
parentda745e2f1440592bbf22edc00b29aac93e5ff7d4 (diff)
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
Diffstat (limited to 'solenv')
-rw-r--r--solenv/gcc-wrappers/wrapper.cxx3
1 files changed, 2 insertions, 1 deletions
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(" ");