|author||Stephen Gallagher <firstname.lastname@example.org>||2013-08-22 09:47:43 -0400|
|committer||Jakub Hrozek <email@example.com>||2013-08-22 19:29:08 +0200|
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.
1 files changed, 6 insertions, 6 deletions
diff --git a/contrib/fedora/bashrc_sssd b/contrib/fedora/bashrc_sssd
index 2b5ba15a7..d0e238f34 100644
@@ -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)
- -Wextra \
- -Wno-unused-parameter \
- -Wno-sign-compare \
+ -Wextra \
+ -Wno-unused-parameter \
+ -Wno-sign-compare \
# 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.