Skip to content

Commit

Permalink
Merge pull request #4680 from YosysHQ/emil/fix-mac-lto-plugins
Browse files Browse the repository at this point in the history
Makefile: add -rdynamic on macOS to fix plugins with LTO
  • Loading branch information
widlarizer authored Nov 8, 2024
2 parents 0aa2f0e + b34e260 commit 792de6e
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -118,6 +118,7 @@ AWK ?= awk

ifeq ($(OS), Darwin)
PLUGIN_LINKFLAGS += -undefined dynamic_lookup
LINKFLAGS += -rdynamic

# homebrew search paths
ifneq ($(shell :; command -v brew),)
Expand Down

0 comments on commit 792de6e

Please sign in to comment.