configure.in (libstdcxx_flags): Don't add libstdc++-v3 flags for libjava.
* configure.in (libstdcxx_flags): Don't add libstdc++-v3 flags for libjava. (CXX_FOR_TARGET): Explain why -shared-libgcc here. From-SVN: r50169
This commit is contained in:
parent
2060fd4ca6
commit
6bff33fb01
2 changed files with 10 additions and 1 deletions
|
@ -1,3 +1,9 @@
|
|||
2002-02-28 Alexandre Oliva <aoliva@redhat.com>
|
||||
|
||||
* configure.in (libstdcxx_flags): Don't add libstdc++-v3 flags for
|
||||
libjava.
|
||||
(CXX_FOR_TARGET): Explain why -shared-libgcc here.
|
||||
|
||||
2002-02-23 Alexandre Oliva <aoliva@redhat.com>
|
||||
|
||||
* Makefile.in (MAKEINFO): Don't assume makeinfo will be built just
|
||||
|
|
|
@ -50,7 +50,7 @@ fi
|
|||
|
||||
libstdcxx_version="target-libstdc++-v3"
|
||||
# Don't use libstdc++-v3's flags to configure/build itself.
|
||||
libstdcxx_flags='`case $$dir in libstdc++-v3) ;; *) test ! -f $$r/$(TARGET_SUBDIR)/libstdc++-v3/testsuite_flags || $(SHELL) $$r/$(TARGET_SUBDIR)/libstdc++-v3/testsuite_flags --build-includes;; esac` -L$$r/$(TARGET_SUBDIR)/libstdc++-v3/src -L$$r/$(TARGET_SUBDIR)/libstdc++-v3/src/.libs'
|
||||
libstdcxx_flags='`case $$dir in libstdc++-v3 | libjava) ;; *) test ! -f $$r/$(TARGET_SUBDIR)/libstdc++-v3/testsuite_flags || $(SHELL) $$r/$(TARGET_SUBDIR)/libstdc++-v3/testsuite_flags --build-includes;; esac` -L$$r/$(TARGET_SUBDIR)/libstdc++-v3/src -L$$r/$(TARGET_SUBDIR)/libstdc++-v3/src/.libs'
|
||||
|
||||
# these tools are built for the host environment
|
||||
# Note, the powerpc-eabi build depends on sim occurring before gdb in order to
|
||||
|
@ -1548,6 +1548,9 @@ fi
|
|||
if test "x${CXX_FOR_TARGET+set}" = xset; then
|
||||
:
|
||||
elif test -d ${topsrcdir}/gcc; then
|
||||
# We add -shared-libgcc to CXX_FOR_TARGET whenever we use xgcc instead
|
||||
# of g++ for linking C++ or Java, because g++ has -shared-libgcc by
|
||||
# default whereas gcc does not.
|
||||
CXX_FOR_TARGET='$$r/gcc/`case $$dir in libstdc++-v3 | libjava) echo xgcc -shared-libgcc ;; *) echo g++ ;; esac` -B$$r/gcc/ -nostdinc++ '$libstdcxx_flags
|
||||
elif test "$host" = "$target"; then
|
||||
CXX_FOR_TARGET='$(CXX)'
|
||||
|
|
Loading…
Add table
Reference in a new issue