mirror of
https://github.com/YosysHQ/yosys
synced 2025-04-13 04:28:18 +00:00
Makefile: add -rdynamic on macOS to fix plugins with LTO
This commit is contained in:
parent
7db4c65970
commit
b34e2603ab
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