aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorSarah Day <sarahday@mit.edu>2016-07-27 12:44:49 -0400
committerTom Yu <tlyu@mit.edu>2016-07-27 15:44:08 -0400
commit5392327b479fd1b964fd72b3b3a0b5b3e04df3a6 (patch)
treef69fcf20425591af7adcae275986343a8d9f3624 /src
parentcab7f315ef45875910adea5da554a994cab2aafe (diff)
downloadkrb5-5392327b479fd1b964fd72b3b3a0b5b3e04df3a6.zip
krb5-5392327b479fd1b964fd72b3b3a0b5b3e04df3a6.tar.gz
krb5-5392327b479fd1b964fd72b3b3a0b5b3e04df3a6.tar.bz2
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.
Diffstat (limited to 'src')
-rw-r--r--src/util/gss-kernel-lib/Makefile.in2
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) \