[Gmp-commit] /var/hg/gmp: Pass EXTRA_CFLAGS to linker as a intermediate fix.

mercurial at gmplib.org mercurial at gmplib.org
Fri Nov 18 02:34:23 UTC 2016


details:   /var/hg/gmp/rev/88fead579828
changeset: 17115:88fead579828
user:      Torbjorn Granlund <tg at gmplib.org>
date:      Fri Nov 18 03:34:20 2016 +0100
description:
Pass EXTRA_CFLAGS to linker as a intermediate fix.

diffstat:

 mini-gmp/tests/Makefile |  3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

diffs (14 lines):

diff -r 544837947697 -r 88fead579828 mini-gmp/tests/Makefile
--- a/mini-gmp/tests/Makefile	Fri Nov 18 01:48:37 2016 +0100
+++ b/mini-gmp/tests/Makefile	Fri Nov 18 03:34:20 2016 +0100
@@ -53,8 +53,9 @@
 
 testutils.o: $(MINI_GMP_DIR)/mini-gmp.c
 
+# FIXME: Pass EXTRA_CFLAGS as an emergency hack to solve massive failures.
 %: %.o $(MISC_OBJS)
-	$(CC) $(LDFLAGS) $^ $(LIBS) -o $@
+	$(CC) $(EXTRA_CFLAGS) $(LDFLAGS) $^ $(LIBS) -o $@
 
 # Missing tests include:
 #   mpz_cmp_d, mpz_popcount, mpz_hamdist, mpz_ui_pow_ui


More information about the gmp-commit mailing list