From: nomennescio Date: Fri, 19 Jan 2024 13:53:32 +0000 (+0100) Subject: Remove implicit dependency on gcc for preprocessing, which is not needed. X-Git-Url: https://gitweb.factorcode.org/gitweb.cgi?p=factor.git;a=commitdiff_plain;h=9ee99e10dcfca2c9b46bec5347fce8748cb90af4 Remove implicit dependency on gcc for preprocessing, which is not needed. This fixes the build on Cygwin and any other platform that uses crosscompilation. --- diff --git a/GNUmakefile b/GNUmakefile index e72005222b..36d83ef5d1 100644 --- a/GNUmakefile +++ b/GNUmakefile @@ -260,7 +260,7 @@ $(FFI_TEST_LIBRARY): vm/ffi_test.o $(TOOLCHAIN_PREFIX)$(CC) $(CFLAGS) $(FFI_TEST_CFLAGS) $(SHARED_FLAG) -o $(FFI_TEST_LIBRARY) $(TEST_OBJS) vm/resources.o: - $(TOOLCHAIN_PREFIX)$(WINDRES) vm/factor.rs vm/resources.o + $(TOOLCHAIN_PREFIX)$(WINDRES) --preprocessor=cat vm/factor.rs vm/resources.o vm/ffi_test.o: vm/ffi_test.c $(TOOLCHAIN_PREFIX)$(CC) -c $(CFLAGS) $(FFI_TEST_CFLAGS) -std=c99 -o $@ $<