Skip to content

Commit

Permalink
Merge pull request #36 from alaindargelas/backward_lib
Browse files Browse the repository at this point in the history
Backward trace lib
  • Loading branch information
akashlevy authored Dec 19, 2024
2 parents d55d545 + ad52b26 commit 56130cb
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 56130cb

Please sign in to comment.