3
0
Fork 0
mirror of https://github.com/YosysHQ/yosys synced 2025-04-06 17:44:09 +00:00

Makefile: add -rdynamic on macOS to fix plugins with LTO

This commit is contained in:
Emil J 2024-10-22 12:52:50 +02:00
parent 7db4c65970
commit b34e2603ab

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