Merge pull request #4680 from YosysHQ/emil/fix-mac-lto-plugins

Makefile: add -rdynamic on macOS to fix plugins with LTO
This commit is contained in:
Emil J 2024-11-08 19:24:48 +01:00 committed by GitHub
commit 792de6e2eb
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 0 deletions

View File

@ -118,6 +118,7 @@ AWK ?= awk
ifeq ($(OS), Darwin)
PLUGIN_LINKFLAGS += -undefined dynamic_lookup
LINKFLAGS += -rdynamic
# homebrew search paths
ifneq ($(shell :; command -v brew),)