diff options
author | Kyle Evans <kevans@FreeBSD.org> | 2020-09-11 13:28:37 +0000 |
---|---|---|
committer | Kyle Evans <kevans@FreeBSD.org> | 2020-09-11 13:28:37 +0000 |
commit | ecebb3cc1d2d074defc302d8ae6820bb6b20d4fe (patch) | |
tree | 82d4975af5d9f605e80daeb706f1b9f5ce4eb59e /stand/efi/gptboot/Makefile | |
parent | b876085f5589f4e6d531d97ad902c5730ec55339 (diff) | |
download | src-ecebb3cc1d2d074defc302d8ae6820bb6b20d4fe.tar.gz src-ecebb3cc1d2d074defc302d8ae6820bb6b20d4fe.zip |
Only set WARNS if not defined
This would allow interested parties to do experimental runs with an
environment set appropriately to raise all the warnings throughout the
build; e.g. env WARNS=6 NO_WERROR=yes buildworld.
Not currently touching the numerous instances in ^/tools.
MFC after: 1 week
Notes
Notes:
svn path=/head/; revision=365631
Diffstat (limited to 'stand/efi/gptboot/Makefile')
-rw-r--r-- | stand/efi/gptboot/Makefile | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/stand/efi/gptboot/Makefile b/stand/efi/gptboot/Makefile index ba0df4ebeeeb..7d6dee85f93f 100644 --- a/stand/efi/gptboot/Makefile +++ b/stand/efi/gptboot/Makefile @@ -13,5 +13,5 @@ CFLAGS+= -DBOOTPROG=\"gptboot.efi\" CFLAGS+= -DHAVE_MEMCPY -I${SRCTOP}/sys/contrib/zlib SRCS+= gpt.c CWARNFLAGS.gpt.c+= -Wno-sign-compare -Wno-cast-align -WARNS=6 +WARNS?=6 .include "${.CURDIR}/../boot1/Makefile" |