diff options
author | bkoz <bkoz@138bc75d-0d04-0410-961f-82ee72b054a4> | 2000-07-26 06:49:33 +0000 |
---|---|---|
committer | bkoz <bkoz@138bc75d-0d04-0410-961f-82ee72b054a4> | 2000-07-26 06:49:33 +0000 |
commit | c8b03b9e2b93c433de53d0a391aede3733fbdc52 (patch) | |
tree | 474e7c6137e4c26b10ee8fc92603cb1c5ce49b52 | |
parent | 553b6d62eb9dad6fdcb3d36f88e90d89010865eb (diff) | |
download | gcc-c8b03b9e2b93c433de53d0a391aede3733fbdc52.tar.gz |
2000-07-24 H.J. Lu <hjl@gnu.org>
* src/Makefile.am (LIBIO_INCLUDES): Set to -I$(top_srcdir)/libio
even if GLIBCPP_NEED_LIBIO is false. The installed glibc header
files don't include private libio header files needed by
libstdc++ v3.
* src/Makefile.in: Rebuild.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@35261 138bc75d-0d04-0410-961f-82ee72b054a4
-rw-r--r-- | libstdc++-v3/src/Makefile.am | 4 | ||||
-rw-r--r-- | libstdc++-v3/src/Makefile.in | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/libstdc++-v3/src/Makefile.am b/libstdc++-v3/src/Makefile.am index 02a0fa9df9a..0c752e41f0b 100644 --- a/libstdc++-v3/src/Makefile.am +++ b/libstdc++-v3/src/Makefile.am @@ -64,7 +64,7 @@ if GLIBCPP_NEED_LIBIO LIBIO_INCLUDES = \ -I$(top_builddir)/libio -I$(top_srcdir)/libio else -LIBIO_INCLUDES = +LIBIO_INCLUDES = -I$(top_srcdir)/libio endif if GLIBCPP_USE_CSHADOW @@ -98,7 +98,7 @@ LTCXXCOMPILE = $(LIBTOOL) --mode=compile $(CXX) $(DEFS) $(INCLUDES) \ # rules automake generates would be used. We cannot allow CXX to be used # in libtool since this would add -lstdc++ to the link line which of # course is impossible. -CXXLINK = $(LIBTOOL) --mode=link "$(CC)" @SECTION_LDFLAGS@ $(AM_CXXFLAGS) $(LDFLAGS) -o $@ +CXXLINK = $(LIBTOOL) --mode=link "$(CC)" -Wl,-O1 @SECTION_LDFLAGS@ $(AM_CXXFLAGS) $(LDFLAGS) -o $@ headers = \ diff --git a/libstdc++-v3/src/Makefile.in b/libstdc++-v3/src/Makefile.in index 73d42da552b..ac851820d9b 100644 --- a/libstdc++-v3/src/Makefile.in +++ b/libstdc++-v3/src/Makefile.in @@ -137,7 +137,7 @@ AM_CXXFLAGS = \ TOPLEVEL_INCLUDES = -I$(includedir) @GLIBCPP_NEED_LIBIO_TRUE@LIBIO_INCLUDES = @GLIBCPP_NEED_LIBIO_TRUE@\ @GLIBCPP_NEED_LIBIO_TRUE@ -I$(top_builddir)/libio -I$(top_srcdir)/libio -@GLIBCPP_NEED_LIBIO_FALSE@LIBIO_INCLUDES = +@GLIBCPP_NEED_LIBIO_FALSE@LIBIO_INCLUDES = @GLIBCPP_NEED_LIBIO_FALSE@-I$(top_srcdir)/libio #CSHADOW_INCLUDES = \ # @CSHADOWFLAGS@ -I$(top_srcdir)/shadow -I$(top_builddir)/cshadow @GLIBCPP_USE_CSHADOW_TRUE@CSHADOW_INCLUDES = @@ -169,7 +169,7 @@ LTCXXCOMPILE = $(LIBTOOL) --mode=compile $(CXX) $(DEFS) $(INCLUDES) \ # rules automake generates would be used. We cannot allow CXX to be used # in libtool since this would add -lstdc++ to the link line which of # course is impossible. -CXXLINK = $(LIBTOOL) --mode=link "$(CC)" @SECTION_LDFLAGS@ $(AM_CXXFLAGS) $(LDFLAGS) -o $@ +CXXLINK = $(LIBTOOL) --mode=link "$(CC)" -Wl,-O1 @SECTION_LDFLAGS@ $(AM_CXXFLAGS) $(LDFLAGS) -o $@ headers = \ bits/cpp_type_traits.h \ |