PR 56789: avoid -ftrapv for alpha, it triggers a gcc error.
OK: rillig
This commit is contained in:
parent
508315abb6
commit
a47cc448b4
|
@ -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 @@ CPPFLAGS+= -I${.CURDIR}/../common
|
|||
|
||||
CLEANFILES+= *.gcno *.gcda *.gcov
|
||||
|
||||
.if ${MACHINE_CPU} != "alpha"
|
||||
CFLAGS+= ${ACTIVE_CC:Mgcc:%=-ftrapv}
|
||||
.endif
|
||||
|
||||
.if exists(${.CURDIR}/../../Makefile.inc)
|
||||
.include "${.CURDIR}/../../Makefile.inc"
|
||||
|
|
Loading…
Reference in New Issue