summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorPaul Eggert <eggert@cs.ucla.edu>2026-05-26 17:51:44 -0700
committerPaul Eggert <eggert@cs.ucla.edu>2026-05-26 21:57:19 -0700
commit6fb6a4f76ddc5dcbb4f6c4693f59ee498a02baca (patch)
tree868f91bb1e5c21e3404f2418772a365b22de732d /test
parent5d8bb14d3b90513ed1a849ebbafb82a7734d9c8c (diff)
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.
Diffstat (limited to 'test')
-rw-r--r--test/Makefile.in2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/Makefile.in b/test/Makefile.in
index 21f31f4c2d0..a1d33b98d2b 100644
--- a/test/Makefile.in
+++ b/test/Makefile.in
@@ -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