1
0
mirror of synced 2026-02-11 02:49:49 +00:00

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

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