diff options
author | Volker Lendecke <vl@samba.org> | 2012-02-25 23:42:52 +0100 |
---|---|---|
committer | Volker Lendecke <vl@samba.org> | 2012-02-26 01:21:48 +0100 |
commit | 558ef5e26eaff1e1731ce2abd97a5aa486b0a32d (patch) | |
tree | a8a101a2a3f01b1d17e97eef6330291dd2c70948 | |
parent | 263c7c28e3cc28a91577631cc6e8f1a96426868c (diff) | |
download | samba-558ef5e26eaff1e1731ce2abd97a5aa486b0a32d.tar.gz samba-558ef5e26eaff1e1731ce2abd97a5aa486b0a32d.tar.bz2 samba-558ef5e26eaff1e1731ce2abd97a5aa486b0a32d.zip |
s3-configure: Add CFLAGS_APPEND variable
This makes it possible to add some CFLAGS to the end of the CFLAGS list. I use
it for adding -Wno-unused-value when compiling with clang.
Autobuild-User: Volker Lendecke <vl@samba.org>
Autobuild-Date: Sun Feb 26 01:21:49 CET 2012 on sn-devel-104
-rw-r--r-- | source3/configure.in | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/configure.in b/source3/configure.in index dc47f13ff6..6c7c3b0969 100644 --- a/source3/configure.in +++ b/source3/configure.in @@ -7183,7 +7183,7 @@ AC_TRY_RUN([#include "${srcdir-.}/../tests/summary.c"], dnl Merge in developer cflags from now on AC_SUBST(DEVELOPER_CFLAGS) if test x"$krb5_developer" = x"yes" -o x"$developer" = x"yes" -o x"$picky_developer" = x"yes"; then - CFLAGS="${CFLAGS} \$(DEVELOPER_CFLAGS)" + CFLAGS="${CFLAGS} \$(DEVELOPER_CFLAGS) ${CFLAGS_APPEND}" fi # Stuff the smbd-only libraries at the end of the smbd link |