aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSiesh1oo <siesh1oo@siesh1oo.no>2014-03-10 20:27:39 +0100
committerSiesh1oo <siesh1oo@siesh1oo.no>2014-03-13 11:29:03 +0100
commit4cad0462332f84b747ff4402fd95fec22fae1735 (patch)
treeaef9e24398ad956ab9412856dd2b7ff4f356ba85
parent1cd7fbb6b8da3b56273426cf2fd13bec49ec0fed (diff)
downloadyosys-4cad0462332f84b747ff4402fd95fec22fae1735.tar.gz
yosys-4cad0462332f84b747ff4402fd95fec22fae1735.tar.bz2
yosys-4cad0462332f84b747ff4402fd95fec22fae1735.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':