aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHaelwenn (lanodan) Monnier <contact@hacktivis.me>2020-05-10 23:00:36 +0200
committerFelix Van der Jeugt <felix.vanderjeugt@posteo.net>2023-08-07 20:49:51 +0200
commitc8bd9269028295e24cde6c875b3de0d3acc05c01 (patch)
tree31f8bea02fb66b598d08f77112fd932582cba975
parentd35540c4ef98dd393418d690af5c3cd8b1e9f722 (diff)
downloadvis-c8bd9269028295e24cde6c875b3de0d3acc05c01.tar.gz
vis-c8bd9269028295e24cde6c875b3de0d3acc05c01.tar.xz
core/Makefile: Respect $CC and $CFLAGS
Related: https://bugs.gentoo.org/722014
-rw-r--r--core/Makefile2
1 files changed, 1 insertions, 1 deletions
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