aboutsummaryrefslogtreecommitdiff
path: root/Makeconfig
diff options
context:
space:
mode:
authorRoland McGrath <roland@redhat.com>2010-04-09 15:18:58 -0700
committerRoland McGrath <roland@redhat.com>2010-04-09 15:18:58 -0700
commit4ae73ca00adbf6bf54bafe93d1318e3446af5919 (patch)
tree948ada65f8e760b8a7a96ac5d6cfb5d00e6747ef /Makeconfig
parent3aa6513708820aad6304c86c62e25b3b294b23f5 (diff)
downloadglibc-4ae73ca00adbf6bf54bafe93d1318e3446af5919.tar
glibc-4ae73ca00adbf6bf54bafe93d1318e3446af5919.tar.gz
glibc-4ae73ca00adbf6bf54bafe93d1318e3446af5919.tar.bz2
glibc-4ae73ca00adbf6bf54bafe93d1318e3446af5919.zip
Revert "Shorten build commands"
This reverts commit 59d9f1d6983fc9b606a1f9214fb817efe3d6cff8.
Diffstat (limited to 'Makeconfig')
-rw-r--r--Makeconfig5
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.