From f0297fd65f04c243eeaea227b8fd1f7ab39307e0 Mon Sep 17 00:00:00 2001 From: Alain Dargelas Date: Wed, 18 Dec 2024 15:53:57 -0800 Subject: [PATCH] Backward trace lib --- Makefile | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/Makefile b/Makefile index 08132b775..8122597be 100644 --- a/Makefile +++ b/Makefile @@ -123,6 +123,11 @@ BISON ?= bison STRIP ?= strip AWK ?= awk +ifeq ($(OS), Linux) +LIBS += -ldw -lelf # 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