Make the warning for deprecated NO_ variables an error.
Support for NO_CTF, NO_DEBUG_FILES, NO_INSTALLLIB, NO_MAN, NO_PROFILE, and NO_WARNS as deprecated in 2014 with a warning added for each one found. Turn these into error in preperation for removal of compatability support before FreeBSD 13. This was previously committed in r354909 and reverted in r355011 due to unforseen impacts on ports. I've since corrected all amd64 and i386 ports reported in prior runs as well as instance of these variables I found via grep.
This commit is contained in:
parent
9c68ef1455
commit
d3a5bf95f2
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=357834
8
UPDATING
8
UPDATING
@ -26,6 +26,14 @@ NOTE TO PEOPLE WHO THINK THAT FreeBSD 13.x IS SLOW:
|
||||
disable the most expensive debugging functionality run
|
||||
"ln -s 'abort:false,junk:false' /etc/malloc.conf".)
|
||||
|
||||
20200212:
|
||||
Defining the long deprecated NO_CTF, NO_DEBUG_FILES, NO_INSTALLLIB,
|
||||
NO_MAN, NO_PROFILE, and NO_WARNS variables is now an error. Update
|
||||
your Makefiles and scripts to define MK_<var>=no instead as required.
|
||||
|
||||
One exception to this is that program or library Makefiles should
|
||||
define MAN to empty rather than setting MK_MAN=no.
|
||||
|
||||
20200108:
|
||||
Clang/LLVM is now the default compiler and LLD the default
|
||||
linker for riscv64.
|
||||
|
@ -100,7 +100,7 @@ __DEFAULT_DEPENDENT_OPTIONS = \
|
||||
PROFILE \
|
||||
WARNS
|
||||
.if defined(NO_${var})
|
||||
.warning "NO_${var} is defined, but deprecated. Please use MK_${var}=no instead."
|
||||
.error "NO_${var} is defined, but deprecated. Please use MK_${var}=no instead."
|
||||
MK_${var}:=no
|
||||
.endif
|
||||
.endfor
|
||||
|
Loading…
Reference in New Issue
Block a user