aboutsummaryrefslogtreecommitdiff
path: root/Makefile.tpl
diff options
context:
space:
mode:
authorjakub <jakub@138bc75d-0d04-0410-961f-82ee72b054a4>2014-03-07 12:58:27 +0000
committerTom Tromey <tromey@redhat.com>2014-05-08 10:18:29 -0600
commitabca8d871a6f8f4d7f9762133e1af637869da1bb (patch)
treefca12e6091a8c4e3bb3e79c73f32b092f9768f20 /Makefile.tpl
parent68d122bb0e4b298ce302c15e0cd1b574727c4f86 (diff)
downloadgdb-abca8d871a6f8f4d7f9762133e1af637869da1bb.zip
gdb-abca8d871a6f8f4d7f9762133e1af637869da1bb.tar.gz
gdb-abca8d871a6f8f4d7f9762133e1af637869da1bb.tar.bz2
PR bootstrap/58572 * Makefile.tpl (POSTSTAGE1_CXX_EXPORT): Use -isystem instead of -I for libstdc++-v3 includes if $(LEAN). * Makefile.in: Regenerated.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@208400 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'Makefile.tpl')
-rw-r--r--Makefile.tpl6
1 files changed, 3 insertions, 3 deletions
diff --git a/Makefile.tpl b/Makefile.tpl
index 92f3f61..54a8dc3 100644
--- a/Makefile.tpl
+++ b/Makefile.tpl
@@ -242,9 +242,9 @@ POSTSTAGE1_CXX_EXPORT = \
-B$$r/$(HOST_SUBDIR)/prev-gcc/ -B$(build_tooldir)/bin/ -nostdinc++ \
-B$$r/prev-$(TARGET_SUBDIR)/libstdc++-v3/src/.libs \
-B$$r/prev-$(TARGET_SUBDIR)/libstdc++-v3/libsupc++/.libs \
- -I$$r/prev-$(TARGET_SUBDIR)/libstdc++-v3/include/$(TARGET_SUBDIR) \
- -I$$r/prev-$(TARGET_SUBDIR)/libstdc++-v3/include \
- -I$$s/libstdc++-v3/libsupc++ \
+ `if $(LEAN); then echo ' -isystem '; else echo ' -I'; fi`$$r/prev-$(TARGET_SUBDIR)/libstdc++-v3/include/$(TARGET_SUBDIR) \
+ `if $(LEAN); then echo ' -isystem '; else echo ' -I'; fi`$$r/prev-$(TARGET_SUBDIR)/libstdc++-v3/include \
+ `if $(LEAN); then echo ' -isystem '; else echo ' -I'; fi`$$s/libstdc++-v3/libsupc++ \
-L$$r/prev-$(TARGET_SUBDIR)/libstdc++-v3/src/.libs \
-L$$r/prev-$(TARGET_SUBDIR)/libstdc++-v3/libsupc++/.libs"; \
export CXX; \