From c8bd9269028295e24cde6c875b3de0d3acc05c01 Mon Sep 17 00:00:00 2001 From: "Haelwenn (lanodan) Monnier" Date: Sun, 10 May 2020 23:00:36 +0200 Subject: core/Makefile: Respect $CC and $CFLAGS Related: https://bugs.gentoo.org/722014 --- core/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/Makefile b/core/Makefile index 2d4b8ee..19991de 100644 --- a/core/Makefile +++ b/core/Makefile @@ -12,7 +12,7 @@ test: $(ALL) config.h: @echo Generating ccan configuration header - @${CC} ccan-config.c -o ccan-config && ./ccan-config > config.h + @${CC} ccan-config.c -o ccan-config && ./ccan-config "${CC}" ${CFLAGS} > config.h text-test: config.h text-test.c ../../text.c ../../text-common.c ../../text-io.c ../../text-iterator.c ../../text-util.c ../../text-motions.c ../../text-objects.c ../../text-regex.c ../../array.c @echo Compiling $@ binary -- cgit v1.2.3