From c294b642ad98ea99b3c9fa796c9d4df5fa109490 Mon Sep 17 00:00:00 2001 From: Amirouche Date: Tue, 6 Dec 2022 17:35:35 +0100 Subject: [PATCH] Makefile: CYCLONE_FOO: replace -A with -I... ... in order to take into account the in tree libraries first. --- Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Makefile b/Makefile index 77be0dad..b027c2b8 100644 --- a/Makefile +++ b/Makefile @@ -9,8 +9,8 @@ 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 . -CLNK '-L.' -CYCLONE_LOCAL = ./cyclone -A . -A libs -COPT '-Iinclude' -CLNK '-L.' +CYCLONE_SYSTEM = cyclone -I . -CLNK '-L.' +CYCLONE_LOCAL = ./cyclone -I . -I libs -COPT '-Iinclude' -CLNK '-L.' CCOMP = $(CC) $(CFLAGS) INDENT_CMD = indent -linux -l80 -i2 -nut