Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/usr.bin/xlint PR 56789: avoid -ftrapv for alpha, it triggers...
details: https://anonhg.NetBSD.org/src/rev/c3616c62ff2d
branches: trunk
changeset: 365185:c3616c62ff2d
user: martin <martin%NetBSD.org@localhost>
date: Sun Apr 10 13:21:34 2022 +0000
description:
PR 56789: avoid -ftrapv for alpha, it triggers a gcc error.
OK: rillig
diffstat:
usr.bin/xlint/Makefile.inc | 4 +++-
1 files changed, 3 insertions(+), 1 deletions(-)
diffs (19 lines):
diff -r 2c953ea62cef -r c3616c62ff2d usr.bin/xlint/Makefile.inc
--- a/usr.bin/xlint/Makefile.inc Sun Apr 10 12:14:10 2022 +0000
+++ b/usr.bin/xlint/Makefile.inc Sun Apr 10 13:21:34 2022 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile.inc,v 1.22 2022/04/09 22:26:49 rillig Exp $
+# $NetBSD: Makefile.inc,v 1.23 2022/04/10 13:21:34 martin Exp $
.include <bsd.own.mk>
@@ -19,7 +19,9 @@
CLEANFILES+= *.gcno *.gcda *.gcov
+.if ${MACHINE_CPU} != "alpha"
CFLAGS+= ${ACTIVE_CC:Mgcc:%=-ftrapv}
+.endif
.if exists(${.CURDIR}/../../Makefile.inc)
.include "${.CURDIR}/../../Makefile.inc"
Home |
Main Index |
Thread Index |
Old Index