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
+1
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),)