[29524] in CVS-changelog-for-Kerberos-V5

home help back first fref pref prev next nref lref last post

krb5 commit: Move CFLAGS and CPPFLAGS after local includes

daemon@ATHENA.MIT.EDU (Tom Yu)
Wed Jul 27 15:58:41 2016

Date: Wed, 27 Jul 2016 15:58:37 -0400
From: Tom Yu <tlyu@mit.edu>
Message-Id: <201607271958.u6RJwbqm006798@drugstore.mit.edu>
To: cvs-krb5@mit.edu
Reply-To: krbdev@mit.edu
MIME-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
Errors-To: cvs-krb5-bounces@mit.edu

https://github.com/krb5/krb5/commit/5392327b479fd1b964fd72b3b3a0b5b3e04df3a6
commit 5392327b479fd1b964fd72b3b3a0b5b3e04df3a6
Author: Sarah Day <sarahday@mit.edu>
Date:   Wed Jul 27 12:44:49 2016 -0400

    Move CFLAGS and CPPFLAGS after local includes
    
    The gss-kernel-lib Makefile overrides ALL_CFLAGS.  It was setting
    the CFLAGS and CPPFLAGS to occur before local includes, which
    causes some compilers to include system header files before the
    local header files.  Moving the CPPFLAGS and CFLAGS to the end of
    ALL_CFLAGS corrects this behavior.

 src/util/gss-kernel-lib/Makefile.in |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/src/util/gss-kernel-lib/Makefile.in b/src/util/gss-kernel-lib/Makefile.in
index f70f3c6..82f5391 100644
--- a/src/util/gss-kernel-lib/Makefile.in
+++ b/src/util/gss-kernel-lib/Makefile.in
@@ -2,7 +2,7 @@ mydir=util/gss-kernel-lib
 BUILDTOP=$(REL)..$(S)..
 
 DEFINES=-DKRB5_KERNEL
-ALL_CFLAGS=$(CPPFLAGS) $(CFLAGS) $(WARN_CFLAGS) $(DEFS) $(DEFINES) -I. -Igssapi
+ALL_CFLAGS=$(WARN_CFLAGS) $(DEFS) $(DEFINES) -I. -Igssapi $(CPPFLAGS) $(CFLAGS)
 
 SHLIB_EXPDEPS = \
 	$(TOPLIBD)/libk5crypto$(SHLIBEXT) \
_______________________________________________
cvs-krb5 mailing list
cvs-krb5@mit.edu
https://mailman.mit.edu/mailman/listinfo/cvs-krb5

home help back first fref pref prev next nref lref last post