summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStephen Gallagher <sgallagh@redhat.com>2013-08-22 09:47:43 -0400
committerJakub Hrozek <jhrozek@redhat.com>2013-08-22 19:29:08 +0200
commit2930ff3863961403d89a0b1147c14b82f91ad7eb (patch)
tree5aa45c8ca52b7a4a2ef12f8fffd67cc9c211d767
parent75dd4b05e1dacc76dc9d5f16be31978f84a71dc5 (diff)
downloadsssd-2930ff3863961403d89a0b1147c14b82f91ad7eb.tar.gz
sssd-2930ff3863961403d89a0b1147c14b82f91ad7eb.tar.bz2
sssd-2930ff3863961403d89a0b1147c14b82f91ad7eb.zip
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.
-rw-r--r--contrib/fedora/bashrc_sssd12
1 files changed, 6 insertions, 6 deletions
diff --git a/contrib/fedora/bashrc_sssd b/contrib/fedora/bashrc_sssd
index 2b5ba15a..d0e238f3 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.