blob: 104bb46d24573e318d07a3fb4049e889c50ff0a5 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
|
--- a/Makefile.in
+++ b/Makefile.in
@@ -104,8 +104,9 @@
-@rm -f $@
notangle -R'"array.h"' array.w | $(NOIDENT) | cpif array.h
+BUILD_CC ?= gcc
scancode.c : $(srcdir)/makescan.c scancode.h nstd.h config.h
- @ECHO_LD@$(CC) $(CFLAGS) $(CPPFLAGS) -o makescan.exe $(srcdir)/makescan.c
+ @ECHO_LD@$(BUILD_CC) $(BUILD_CFLAGS) $(BUILD_CPPFLAGS) -o makescan.exe $(srcdir)/makescan.c
rm -f scancode.c
./makescan.exe > scancode.c
rm makescan.exe
|