aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSiesh1oo <siesh1oo@siesh1oo.no>2014-03-10 20:27:39 +0100
committerSiesh1oo <siesh1oo@siesh1oo.no>2014-03-10 20:27:39 +0100
commit876c016904989bc54eafada1363e31f291854542 (patch)
treed66e970fa85f96e0a5995d0a48f9f3d115c3ad21
parentd091be401140088431ac2c1bf2bc97415e37c9ff (diff)
downloadyosys-876c016904989bc54eafada1363e31f291854542.tar.gz
yosys-876c016904989bc54eafada1363e31f291854542.tar.bz2
yosys-876c016904989bc54eafada1363e31f291854542.zip
- Makefile: include $(PWD) in PATH, since 'make test' can happen before 'make install'.
-rw-r--r--Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 849860a33..ce9a99bc0 100644
--- a/Makefile
+++ b/Makefile
@@ -27,7 +27,7 @@ CXXFLAGS = -Wall -Wextra -ggdb -I"$(shell pwd)" -I${DESTDIR}/include -MD -D_YOSY
LDFLAGS = -L${DESTDIR}/lib
LDLIBS = -lstdc++ -lreadline -lm -ldl
-export PATH := ${DESTDIR}/bin:$(PATH)
+export PATH := $(PWD):$(DESTDIR)/bin:$(PATH)
ifeq (Darwin,$(findstring Darwin,$(shell uname)))
# add macports include and library path to search directories, don't use '-rdynamic' and '-lrt':