From 558ef5e26eaff1e1731ce2abd97a5aa486b0a32d Mon Sep 17 00:00:00 2001 From: Volker Lendecke Date: Sat, 25 Feb 2012 23:42:52 +0100 Subject: 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 Autobuild-Date: Sun Feb 26 01:21:49 CET 2012 on sn-devel-104 --- source3/configure.in | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'source3/configure.in') 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 -- cgit