mirror of
https://github.com/YosysHQ/yosys
synced 2025-04-13 04:28:18 +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:
commit
792de6e2eb
1
Makefile
1
Makefile
|
@ -118,6 +118,7 @@ AWK ?= awk
|
||||||
|
|
||||||
ifeq ($(OS), Darwin)
|
ifeq ($(OS), Darwin)
|
||||||
PLUGIN_LINKFLAGS += -undefined dynamic_lookup
|
PLUGIN_LINKFLAGS += -undefined dynamic_lookup
|
||||||
|
LINKFLAGS += -rdynamic
|
||||||
|
|
||||||
# homebrew search paths
|
# homebrew search paths
|
||||||
ifneq ($(shell :; command -v brew),)
|
ifneq ($(shell :; command -v brew),)
|
||||||
|
|
Loading…
Reference in a new issue