diff options
author | Andrei Karas <akaras@inbox.ru> | 2016-05-11 01:20:19 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2016-05-11 01:20:19 +0300 |
commit | 6028612674d621653d96740e62c64e41290c37d0 (patch) | |
tree | 13bf694da5b550bf4c134c4f7c4041a6775153b7 | |
parent | 538c310c622ffc232188177faf6425c39e6e1545 (diff) | |
download | manaverse-6028612674d621653d96740e62c64e41290c37d0.tar.gz manaverse-6028612674d621653d96740e62c64e41290c37d0.tar.bz2 manaverse-6028612674d621653d96740e62c64e41290c37d0.tar.xz manaverse-6028612674d621653d96740e62c64e41290c37d0.zip |
If asserts enabled, add linker flag -rdynamic.
-rw-r--r-- | src/Makefile.am | 3 |
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} \ |