libm: suppress lint warning about '>>' on signed integer
GCC has implementation-defined behavior for that case.
This commit is contained in:
parent
0f0ac9cec2
commit
597c9f09f2
|
@ -1,4 +1,4 @@
|
|||
# $NetBSD: Makefile,v 1.218 2022/08/27 09:56:21 christos Exp $
|
||||
# $NetBSD: Makefile,v 1.219 2023/04/10 19:23:02 rillig Exp $
|
||||
#
|
||||
# @(#)Makefile 5.1beta 93/09/24
|
||||
#
|
||||
|
@ -53,8 +53,8 @@ USE_SHLIBDIR= yes
|
|||
LIBC_MACHINE_ARCH?= ${MACHINE_ARCH}
|
||||
LIBC_MACHINE_CPU?= ${MACHINE_CPU}
|
||||
|
||||
# compiler_rt uses typeof() and __extension__
|
||||
LINTFLAGS += -g
|
||||
LINTFLAGS+= -g # compiler_rt uses typeof() and __extension__
|
||||
LINTFLAGS+= -X 117 # GCC sign-extends '>>' on signed int
|
||||
|
||||
.if (${LIBC_MACHINE_CPU} == "aarch64")
|
||||
.PATH: ${.CURDIR}/arch/aarch64
|
||||
|
|
Loading…
Reference in New Issue