aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSiesh1oo <siesh1oo@siesh1oo.no>2014-03-10 20:27:39 +0100
committerSiesh1oo <siesh1oo@siesh1oo.no>2014-03-12 14:00:40 +0100
commitcfabaa16895d85ce21b0a1bf020f5ac1108cc614 (patch)
tree14e812129dd87848b387a4f2f76e8a43f788425b
parent51bf1c871e89167228c406649201e608fd618d5c (diff)
downloadyosys-cfabaa16895d85ce21b0a1bf020f5ac1108cc614.tar.gz
yosys-cfabaa16895d85ce21b0a1bf020f5ac1108cc614.tar.bz2
yosys-cfabaa16895d85ce21b0a1bf020f5ac1108cc614.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 39b324b4d..9460e3413 100644
--- a/Makefile
+++ b/Makefile
@@ -26,7 +26,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':