]> eyrie.org Git - kerberos/krb5-strength.git/commitdiff
Fix Kerberos warning flags
authorRuss Allbery <eagle@eyrie.org>
Mon, 25 Dec 2023 21:24:26 +0000 (13:24 -0800)
committerRuss Allbery <eagle@eyrie.org>
Mon, 25 Dec 2023 21:24:26 +0000 (13:24 -0800)
The update to rra-c-util changed the Makefile variable used to
enable warnings with Kerberos code. Fix the reference to match.

Makefile.am

index c6cc7b6415c78fa0dd8a157806c351238f3a835b..c3419ec10f7c0f714db505c74173dd2b42dcb2ed 100644 (file)
@@ -129,9 +129,9 @@ maintainer-clean-local:
 
 warnings:
        $(MAKE) V=0 CFLAGS='$(WARNINGS_CFLAGS) $(AM_CFLAGS)' \
-           KRB5_CPPFLAGS='$(KRB5_CPPFLAGS_GCC)'
+           KRB5_CPPFLAGS='$(KRB5_CPPFLAGS_WARNINGS)'
        $(MAKE) V=0 CFLAGS='$(WARNINGS_CFLAGS) $(AM_CFLAGS)' \
-           KRB5_CPPFLAGS='$(KRB5_CPPFLAGS_GCC)' $(check_PROGRAMS)
+           KRB5_CPPFLAGS='$(KRB5_CPPFLAGS_WARNINGS)' $(check_PROGRAMS)
 
 # The bits below are for the test suite, not for the main package.
 check_PROGRAMS = tests/runtests tests/plugin/heimdal-t tests/plugin/mit-t   \