Pacify GCC better when building the test module

* test/Makefile.in ($(test_module)):
Compile mini-gmp-gnulib.c, not mini-gmp.c,
so that we get its pragmas to pacify GCC.
This commit is contained in:
Paul Eggert 2026-05-26 17:51:44 -07:00
parent 5d8bb14d3b
commit 6fb6a4f76d

View file

@ -309,7 +309,7 @@ $(test_module): $(test_module:${SO}=.c) ../src/emacs-module.h \
$(AM_V_CCLD)${MKDIR_P} $(dir $@)
$(AM_V_at)$(CC) -shared $(CPPFLAGS) $(MODULE_CFLAGS) $(LDFLAGS) \
-o $@ $< $(LIBGMP) \
$(and $(GMP_H),$(srcdir)/../lib/mini-gmp.c) \
$(and $(GMP_H),$(srcdir)/../lib/mini-gmp-gnulib.c) \
$(CLOCK_TIME_LIB) $(NANOSLEEP_LIB)
endif