aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSimon Warta <[email protected]>2015-07-16 09:35:14 +0200
committerSimon Warta <[email protected]>2015-07-21 20:06:18 +0200
commitb2cda0952925ca491b6e63b3af755f9b2ff16a60 (patch)
treee1e72da807563cf259819526ea605ef9c80892c5
parent39f9b78c5fdcac09661faaeb76b39ef301aebcab (diff)
Add debug linker for GCC
-rw-r--r--src/build-data/cc/gcc.txt3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/build-data/cc/gcc.txt b/src/build-data/cc/gcc.txt
index d7b35a7f0..863e504a2 100644
--- a/src/build-data/cc/gcc.txt
+++ b/src/build-data/cc/gcc.txt
@@ -30,7 +30,8 @@ makefile_style gmake
<so_link_flags>
# The default works for GNU ld and several other Unix linkers
-default -> "$(CXX) -shared -fPIC -Wl,-soname,$(SONAME)"
+default -> "$(CXX) -shared -fPIC -Wl,-soname,$(SONAME)"
+default-debug -> "$(CXX) -shared -fPIC -Wl,-soname,$(SONAME)"
# Darwin, HP-UX and Solaris linkers use different syntax
darwin -> "$(CXX) -dynamiclib -fPIC -install_name $(LIBDIR)/$(SONAME)"