diff --git a/Makefile b/Makefile index 08132b77521..d4344a10ba8 100644 --- a/Makefile +++ b/Makefile @@ -123,6 +123,12 @@ BISON ?= bison STRIP ?= strip AWK ?= awk + +ifeq ($(OS), Linux) +LIBS += -ldw # SILIMATE: support for backward-cpp +CXXFLAGS += -DBACKWARD_HAS_DW # SILIMATE: support for backward-cpp +endif + ifeq ($(OS), Darwin) PLUGIN_LINKFLAGS += -undefined dynamic_lookup LINKFLAGS += -rdynamic