]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
Cleanup compiler warning flags in lib/libefivar/Makefile
authorDimitry Andric <dim@FreeBSD.org>
Thu, 26 Aug 2021 18:53:18 +0000 (20:53 +0200)
committerDimitry Andric <dim@FreeBSD.org>
Sun, 29 Aug 2021 10:51:27 +0000 (12:51 +0200)
commit729a19f2cd01aac78d08fb88d8467b1a2376d81b
treeadaa483fd2812548877b563011b4ff0c03eeebbd
parent7f14439a3a78f084f705e24a055c85044f35d39a
Cleanup compiler warning flags in lib/libefivar/Makefile

There is no need to set -Wno-unused-parameter twice, and instead of
appending to CFLAGS, append to CWARNFLAGS instead. While here, add
-Wno-unused-but-set-variable for the sake of clang 13.0.0.

(cherry picked from commit f643997a1761689ef9108d69b86d42881ea0ab1c)
lib/libefivar/Makefile