aklog: Do not include XCFLAGS twice
authorAndrew Deason <adeason@sinenomine.net>
Wed, 16 Feb 2011 03:23:06 +0000 (21:23 -0600)
committerDerrick Brashear <shadow@dementia.org>
Tue, 8 Mar 2011 14:31:27 +0000 (06:31 -0800)
In aklog, we set MODULE_CFLAGS to XCFLAGS and some other things.
However, when using AFS_LDRULE or AFS_CCRULE, CFLAGS will contain
MT_CFLAGS, which contains XCFLAGS. The end result is that the contents
of XCFLAGS appear twice in the compilation invocation, breaking some
platforms like HP-UX where the order of XCFLAGS relative to other
things is a bit fragile.

Fix this by removing XCFLAGS from the MODULE_CFLAGS definition.

Change-Id: I5eef9764d758885a995269edc5bef91ff06db8b5
Reviewed-on: http://gerrit.openafs.org/3960
Tested-by: BuildBot <buildbot@rampaginggeek.com>
Reviewed-by: Derrick Brashear <shadow@dementia.org>

src/aklog/Makefile.in

index 76d8d56..e7f3c8f 100644 (file)
@@ -11,7 +11,7 @@ INSTALL_DATA = @INSTALL_DATA@
 INSTALL_PROGRAM = @INSTALL_PROGRAM@
 INSTALL_SCRIPT = @INSTALL_SCRIPT@
 
-MODULE_CFLAGS=@XCFLAGS@ @KRB5_CPPFLAGS@ -DALLOW_REGISTER
+MODULE_CFLAGS=@KRB5_CPPFLAGS@ -DALLOW_REGISTER
 
 AKLIBS= ${LIBS} @KRB5_LDFLAGS@ @KRB5_LIBS@
 AFSLIBS= ${TOP_LIBDIR}/libafsauthent.a \