aboutsummaryrefslogtreecommitdiff
path: root/Makeconfig
diff options
context:
space:
mode:
Diffstat (limited to 'Makeconfig')
-rw-r--r--Makeconfig10
1 files changed, 5 insertions, 5 deletions
diff --git a/Makeconfig b/Makeconfig
index 29d06ca..8f5313f 100644
--- a/Makeconfig
+++ b/Makeconfig
@@ -487,14 +487,14 @@ endif # $(+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
-# and in the parent library source directory.
+# files (including ones given in angle brackets) in the current directory,
+# in the parent library source directory and in the include directory.
# `+sysdep-includes' will be defined by Makerules.
-+includes = -I. $(filter-out -I,-I$(patsubst %/,%,$(..))) $($(stdio)-include) \
- $(includes) $(+sysdep-includes) $(last-includes)
++includes = -I. $(patsubst %/,-I%,$(..)) -I$(..)include $($(stdio)-include) \
+ $(includes) $(+sysdep-includes) $(last-includes)
# Since libio has several internal header files, we use a -I instead
-# of many little headers in the top level source directory.
+# of many little headers in the include directory.
libio-include = -I$(..)libio
# These are the variables that the implicit compilation rules use.