about summary refs log tree commit diff
path: root/Makeconfig
diff options
context:
space:
mode:
Diffstat (limited to 'Makeconfig')
-rw-r--r--Makeconfig8
1 files changed, 4 insertions, 4 deletions
diff --git a/Makeconfig b/Makeconfig
index 45a970402e..f8de97d3a0 100644
--- a/Makeconfig
+++ b/Makeconfig
@@ -627,10 +627,10 @@ endif	# $(+cflags) == ""
 # library source directory, in the include directory, and in the
 # current directory.
 # `+sysdep-includes' will be defined by Makerules.
-+includes = -I$(..)include $(patsubst %/,-I%,$(..)) \
-	    $(libio-include) $(includes) \
-	    $(+sysdep-includes) $(sysincludes) -I. \
-	    $(patsubst %/,-I%,$(objpfx))
++includes = -I$(..)include \
+	    $(patsubst %/,-I%,$(objpfx)) $(+sysdep-includes) \
+	    $(patsubst %/,-I%,$(..)) $(libio-include) $(includes) -I. \
+	    $(sysincludes)
 
 # Since libio has several internal header files, we use a -I instead
 # of many little headers in the include directory.