aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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