From 012fa56e0c36e54c3c017eac773deea738f74712 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=B6ren=20Tempel?= Date: Fri, 2 Sep 2022 05:40:11 +0200 Subject: [PATCH] Makefile: Also pass -L. for CYCLONE_SYSTEM Otherwise, the Cyclone compiler build from cyclone.scm using the installed Cyclone version will use the libcyclone.a and libcyclonebn.a file from /usr/lib instead of the one compiled as a prerequisite by GNU make in the current directory. --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 3c0edae1..1f243527 100644 --- a/Makefile +++ b/Makefile @@ -9,7 +9,7 @@ include Makefile.config # Set up Cyclone here to build the compiler itself using a system-installed # compiler (EG: from bootstrap or an earlier cyclone version). Everything # else can then be built using our local binary. -CYCLONE_SYSTEM = cyclone -A . +CYCLONE_SYSTEM = cyclone -A . -CLNK '-L.' CYCLONE_LOCAL = ./cyclone -A . -A libs -COPT '-Iinclude' -CLNK '-L.' CCOMP = $(CC) $(CFLAGS) INDENT_CMD = indent -linux -l80 -i2 -nut