Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/external/lgpl3/gmp/lib/libgmp libgmp: clean up LINTFLAGS
details: https://anonhg.NetBSD.org/src/rev/a2ebf2290b0d
branches: trunk
changeset: 1027140:a2ebf2290b0d
user: rillig <rillig%NetBSD.org@localhost>
date: Tue Dec 07 19:04:27 2021 +0000
description:
libgmp: clean up LINTFLAGS
Now that gmp-impl.h includes <stdlib.h>, defining alloca is no longer
necessary.
diffstat:
external/lgpl3/gmp/lib/libgmp/Makefile | 4 +---
1 files changed, 1 insertions(+), 3 deletions(-)
diffs (18 lines):
diff -r 35cdd33784b0 -r a2ebf2290b0d external/lgpl3/gmp/lib/libgmp/Makefile
--- a/external/lgpl3/gmp/lib/libgmp/Makefile Tue Dec 07 18:38:50 2021 +0000
+++ b/external/lgpl3/gmp/lib/libgmp/Makefile Tue Dec 07 19:04:27 2021 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.31 2021/12/06 23:07:49 rillig Exp $
+# $NetBSD: Makefile,v 1.32 2021/12/07 19:04:27 rillig Exp $
.include <bsd.init.mk>
@@ -266,8 +266,6 @@
M4FLAGS+=-DPIC
.endif
-# redc_n.c(62): error: function 'alloca' implicitly declared to return int [215]
-LINTFLAGS+= -Dalloca=__builtin_alloca
# gmp-impl.h(5172): warning: constant in conditional context [161]
LINTFLAGS+= -X 161
# gmp-impl.h(5187): warning: bitwise '>>' on signed value possibly nonportable [117]
Home |
Main Index |
Thread Index |
Old Index