diff options
author | Fabio Utzig <utzig@utzig.org> | 2015-01-08 09:58:24 -0200 |
---|---|---|
committer | Fabio Utzig <utzig@utzig.org> | 2015-01-08 09:58:24 -0200 |
commit | 0a231f96d79d3eae927bf33571846c98f78eedfd (patch) | |
tree | c568f20de24629d332ff2ea5d935ae4a1573e43f | |
parent | fff6f00b3c8704473bbb8149c82a2805fb1c32d2 (diff) | |
download | yosys-0a231f96d79d3eae927bf33571846c98f78eedfd.tar.gz yosys-0a231f96d79d3eae927bf33571846c98f78eedfd.tar.bz2 yosys-0a231f96d79d3eae927bf33571846c98f78eedfd.zip |
Enable use of homebrew's provided bison if available
-rw-r--r-- | Makefile | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -44,6 +44,8 @@ ifeq (Darwin,$(findstring Darwin,$(shell uname))) # add homebrew's libffi include and library path CXXFLAGS += $(shell PKG_CONFIG_PATH=$$(brew list libffi | grep pkgconfig | xargs dirname) pkg-config --silence-errors --cflags libffi) LDFLAGS += $(shell PKG_CONFIG_PATH=$$(brew list libffi | grep pkgconfig | xargs dirname) pkg-config --silence-errors --libs libffi) + # use bison installed by homebrew if available + BISON = $(shell (brew list bison | grep -m1 "bin/bison") || echo bison) SED = gsed else LDFLAGS += -rdynamic |