summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2016-05-11 01:20:19 +0300
committerAndrei Karas <akaras@inbox.ru>2016-05-11 01:20:19 +0300
commit6028612674d621653d96740e62c64e41290c37d0 (patch)
tree13bf694da5b550bf4c134c4f7c4041a6775153b7 /src
parent538c310c622ffc232188177faf6425c39e6e1545 (diff)
downloadmv-6028612674d621653d96740e62c64e41290c37d0.tar.gz
mv-6028612674d621653d96740e62c64e41290c37d0.tar.bz2
mv-6028612674d621653d96740e62c64e41290c37d0.tar.xz
mv-6028612674d621653d96740e62c64e41290c37d0.zip
If asserts enabled, add linker flag -rdynamic.
Diffstat (limited to 'src')
-rw-r--r--src/Makefile.am3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/Makefile.am b/src/Makefile.am
index c1a7910f6..2af7089e2 100644
--- a/src/Makefile.am
+++ b/src/Makefile.am
@@ -21,6 +21,8 @@ endif
if ENABLE_ASSERTS
manaplus_CXXFLAGS += -DENABLE_ASSERTS
dyecmd_CXXFLAGS += -DENABLE_ASSERTS
+manaplus_LDFLAGS = -rdynamic
+dyecmd_LDFLAGS = -rdynamic
endif
if ENABLE_PUGIXML
@@ -1775,6 +1777,7 @@ manaplustests_CXXFLAGS += -Werror
endif
if ENABLE_ASSERTS
manaplustests_CXXFLAGS += -DENABLE_ASSERTS
+manaplustests_LDFLAGS = -rdynamic
endif
manaplustests_SOURCES = ${manaplus_SOURCES} \