diff options
Diffstat (limited to 'Makeconfig')
-rw-r--r-- | Makeconfig | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/Makeconfig b/Makeconfig index dc81545070..cd77fe16b8 100644 --- a/Makeconfig +++ b/Makeconfig @@ -670,10 +670,9 @@ endif # $(+cflags) == "" # library source directory, in the include directory, and in the # current directory. +sysdep-includes = $(addprefix -I,$(+sysdep_dirs)) -+common-includes = $(+sysdep-includes) $(includes) $(sysincludes) +includes = -I$(..)include $(if $(subdir),$(objpfx:%/=-I%)) \ - @$(common-objpfx)includes \ - $(patsubst %/,-I%,$(..)) $(libio-include) -I. + $(+sysdep-includes) $(includes) \ + $(patsubst %/,-I%,$(..)) $(libio-include) -I. $(sysincludes) # Since libio has several internal header files, we use a -I instead # of many little headers in the include directory. |