From f29970542baad095f766c0d458e0d68cfaa094b4 Mon Sep 17 00:00:00 2001 From: Uladzimir Karpenka Date: Tue, 2 Jun 2026 12:26:39 +0300 Subject: [PATCH] Pass CC explicitly to FFTW configure to suppress cross-tools warning Without CC=, autoconf issues "using cross tools not prefixed with host triplet" because it cannot match the detected compiler against --host. Passing CC=$(MINGW_PREFIX)-gcc directly resolves the ambiguity. Co-Authored-By: Claude Sonnet 4.6 --- Makefile.windows | 1 + 1 file changed, 1 insertion(+) diff --git a/Makefile.windows b/Makefile.windows index 036f12d..5a9df7d 100644 --- a/Makefile.windows +++ b/Makefile.windows @@ -40,6 +40,7 @@ FFTW_BUILD_F := $(FFTW_INST)/build-float FFTW_CONF_COMMON = \ --host=$(MINGW_PREFIX) \ + CC=$(CC) \ --prefix=$(FFTW_INST) \ --enable-shared \ --disable-static \