diff --git a/config/mkdetect/Makefile.in b/config/mkdetect/Makefile.in index 5dc2e6dcc6f..0da3c857fde 100644 --- a/config/mkdetect/Makefile.in +++ b/config/mkdetect/Makefile.in @@ -33,15 +33,18 @@ DETECT_DIR = $(topsrcdir)/config/mkdetect DETECT_NAME = detect_$(DETECT_UNIQ_IDENT)_gen.mk # The glibc detection script -DETECT_GLIBC = $(DETECT_DIR)/detect_glibc.sh -o $(DETECT_UNIQ_IDENT) +DETECT_GLIBC = $(DETECT_DIR)/detect_glibc.sh -o $(DETECT_UNIQ_IDENT) \ + -cc $(CC) # The motif detection script DETECT_MOTIF =\ $(DETECT_DIR)/detect_motif.sh -o $(DETECT_UNIQ_IDENT) \ - -xif $(X11_INCLUDE_FLAGS) + -xif $(X11_INCLUDE_FLAGS) \ + -cc $(CC) # The X11 detection script -DETECT_X11 = $(DETECT_DIR)/detect_x11.sh -o $(DETECT_UNIQ_IDENT) +DETECT_X11 = $(DETECT_DIR)/detect_x11.sh -o $(DETECT_UNIQ_IDENT) \ + -cc $(CC) # The following macros are generated: #