mirror of
https://github.com/YosysHQ/yosys
synced 2025-07-20 19:32:05 +00:00
Clean up yosys backward for Mac
This commit is contained in:
parent
c64d6c1d6d
commit
fc255ca1c9
1 changed files with 3 additions and 4 deletions
7
Makefile
7
Makefile
|
@ -140,6 +140,9 @@ LINKFLAGS += -L$(BREW_PREFIX)/readline/lib
|
||||||
PKG_CONFIG_PATH := $(BREW_PREFIX)/libffi/lib/pkgconfig:$(PKG_CONFIG_PATH)
|
PKG_CONFIG_PATH := $(BREW_PREFIX)/libffi/lib/pkgconfig:$(PKG_CONFIG_PATH)
|
||||||
PKG_CONFIG_PATH := $(BREW_PREFIX)/tcl-tk/lib/pkgconfig:$(PKG_CONFIG_PATH)
|
PKG_CONFIG_PATH := $(BREW_PREFIX)/tcl-tk/lib/pkgconfig:$(PKG_CONFIG_PATH)
|
||||||
export PATH := $(BREW_PREFIX)/bison/bin:$(BREW_PREFIX)/gettext/bin:$(BREW_PREFIX)/flex/bin:$(BREW_PREFIX)/m4/bin:$(PATH)
|
export PATH := $(BREW_PREFIX)/bison/bin:$(BREW_PREFIX)/gettext/bin:$(BREW_PREFIX)/flex/bin:$(BREW_PREFIX)/m4/bin:$(PATH)
|
||||||
|
export LIBRARY_PATH := $(BREW_PREFIX)/dwarfutils/lib:$(BREW_PREFIX)/libelf/lib:$(LIBRARY_PATH)
|
||||||
|
LIBS += -ldwarf -lelf # SILIMATE: support for backward-cpp
|
||||||
|
CXXFLAGS += -DBACKWARD_HAS_DWARF # SILIMATE: support for backward-cpp
|
||||||
|
|
||||||
# macports search paths
|
# macports search paths
|
||||||
else ifneq ($(shell :; command -v port),)
|
else ifneq ($(shell :; command -v port),)
|
||||||
|
@ -154,10 +157,6 @@ else
|
||||||
LINKFLAGS += -rdynamic
|
LINKFLAGS += -rdynamic
|
||||||
ifneq ($(OS), OpenBSD)
|
ifneq ($(OS), OpenBSD)
|
||||||
LIBS += -lrt
|
LIBS += -lrt
|
||||||
|
|
||||||
LIBS += -ldwarf -lelf # SILIMATE: support for backward-cpp
|
|
||||||
CXXFLAGS += -DBACKWARD_HAS_DWARF # SILIMATE: support for backward-cpp
|
|
||||||
|
|
||||||
endif
|
endif
|
||||||
endif
|
endif
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue