From b6ab06cef4670e02756bcdd4d2c33a49369a4346 Mon Sep 17 00:00:00 2001 From: Ulrich Drepper Date: Wed, 14 Dec 2005 08:43:25 +0000 Subject: 2005-12-13 Ulrich Drepper --- Makeconfig | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) (limited to 'Makeconfig') diff --git a/Makeconfig b/Makeconfig index 01ca7097e6..45a970402e 100644 --- a/Makeconfig +++ b/Makeconfig @@ -622,14 +622,15 @@ endif # $(+cflags) == "" +cflags := $(sort $(+cflags)) -# These are flags given to the C compiler to tell it to look for include -# files (including ones given in angle brackets) in the current directory, -# in the parent library source directory and in the include directory. +# These are flags given to the C compiler to tell it to look for +# include files (including ones given in angle brackets) in the parent +# library source directory, in the include directory, and in the +# current directory. # `+sysdep-includes' will be defined by Makerules. -+includes = -I$(..)include -I. \ - $(patsubst %/,-I%,$(objpfx)) $(patsubst %/,-I%,$(..)) \ ++includes = -I$(..)include $(patsubst %/,-I%,$(..)) \ $(libio-include) $(includes) \ - $(+sysdep-includes) $(sysincludes) + $(+sysdep-includes) $(sysincludes) -I. \ + $(patsubst %/,-I%,$(objpfx)) # Since libio has several internal header files, we use a -I instead # of many little headers in the include directory. -- cgit v1.2.3