diff options
| author | lukem <lukem@NetBSD.org> | 2023-06-03 09:09:01 +0000 |
|---|---|---|
| committer | lukem <lukem@NetBSD.org> | 2023-06-03 09:09:01 +0000 |
| commit | ff6601a6cc5f10bccaf009e4e2b72c75774d7a4d (patch) | |
| tree | 87fe4eb9bda81296a5ed95f9cf55e1a2bf1ecd9a /lib/libedit | |
| parent | abaa8cb87058c08ad0688c849a28f4e007c07bbb (diff) | |
bsd.own.mk: rename GCC_NO_* to CC_WNO_*
Rename compiler-warning-disable variables from
GCC_NO_warning
to
CC_WNO_warning
where warning is the full warning name as used by the compiler.
GCC_NO_IMPLICIT_FALLTHRU is CC_WNO_IMPLICIT_FALLTHROUGH
Using the convention CC_compilerflag, where compilerflag
is based on the full compiler flag name.
Diffstat (limited to 'lib/libedit')
| -rw-r--r-- | lib/libedit/Makefile | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/lib/libedit/Makefile b/lib/libedit/Makefile index 105a6a92e0e..48372c8ce00 100644 --- a/lib/libedit/Makefile +++ b/lib/libedit/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.66 2019/10/13 07:28:10 mrg Exp $ +# $NetBSD: Makefile,v 1.67 2023/06/03 09:09:10 lukem Exp $ # @(#)Makefile 8.1 (Berkeley) 6/4/93 USE_SHLIBDIR= yes @@ -138,6 +138,6 @@ COPTS.tokenizer.c+= -Wno-cast-qual COPTS.tokenizern.c+= -Wno-cast-qual .endif -COPTS.history.c+= ${GCC_NO_STRINGOP_OVERFLOW} -COPTS.historyn.c+= ${GCC_NO_STRINGOP_OVERFLOW} -COPTS.readline.c+= ${GCC_NO_STRINGOP_TRUNCATION} ${GCC_NO_STRINGOP_OVERFLOW} +COPTS.history.c+= ${CC_WNO_STRINGOP_OVERFLOW} +COPTS.historyn.c+= ${CC_WNO_STRINGOP_OVERFLOW} +COPTS.readline.c+= ${CC_WNO_STRINGOP_TRUNCATION} ${CC_WNO_STRINGOP_OVERFLOW} |
