From 2930ff3863961403d89a0b1147c14b82f91ad7eb Mon Sep 17 00:00:00 2001 From: Stephen Gallagher Date: Thu, 22 Aug 2013 09:47:43 -0400 Subject: BUILD: Fix contrib build macros to display warnings There was an inconsistency with how the warnings were specified and how they were consumed by the macros. The result was that warnings were hidden. --- contrib/fedora/bashrc_sssd | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'contrib/fedora') diff --git a/contrib/fedora/bashrc_sssd b/contrib/fedora/bashrc_sssd index 2b5ba15a7..d0e238f34 100644 --- a/contrib/fedora/bashrc_sssd +++ b/contrib/fedora/bashrc_sssd @@ -62,11 +62,11 @@ alias reconfig='autoreconf -if \ # Set the list of warnings that you want to detect (and in the case of remake # and chmake want to treat as errors) -WARNINGS='-Wall \ - -Wextra \ - -Wno-unused-parameter \ - -Wno-sign-compare \ - -Wformat-security' +SSS_WARNINGS='-Wall \ + -Wextra \ + -Wno-unused-parameter \ + -Wno-sign-compare \ + -Wformat-security' # Build (or finish building) all objects and then run the build-tests against # them. This builds with optimizations turned off and GDB debugging symbols. @@ -81,7 +81,7 @@ alias remake='make clean > /dev/null && chmake' # Clean the build directory and rebuild all objects, hiding most of the build # output except for warnings and errors. This builds with standard CFLAGS. alias warn='make clean >/dev/null \ - && make CFLAGS+="$WARNINGS" -j$PROCESSORS tests > /dev/null' + && make CFLAGS+="$SSS_WARNINGS" -j$PROCESSORS tests > /dev/null' # Install the built sources to the current system, cleaning up the LDB modules # and making sure that the NSS and PAM modules have the right SELinux context. -- cgit