Makefile.def (target_modules): Set lib_path to src/.libs for libstdc++-v3 module.

* Makefile.def (target_modules): Set lib_path to src/.libs for
	libstdc++-v3 module.
	* Makefile.tpl: Fix typo in TARGET_LIB_PATH comment.
	* Makefile.in: Rebuild.

From-SVN: r165727
This commit is contained in:
Ian Lance Taylor 2010-10-20 14:39:17 +00:00 committed by Ian Lance Taylor
parent 30ca47e6eb
commit 66c9242547
4 changed files with 11 additions and 4 deletions

View File

@ -1,3 +1,10 @@
2010-10-20 Ian Lance Taylor <iant@google.com>
* Makefile.def (target_modules): Set lib_path to src/.libs for
libstdc++-v3 module.
* Makefile.tpl: Fix typo in TARGET_LIB_PATH comment.
* Makefile.in: Rebuild.
2010-10-18 Laurynas Biveinis <laurynas.biveinis@gmail.com> 2010-10-18 Laurynas Biveinis <laurynas.biveinis@gmail.com>
* MAINTAINERS (Reviewers): Add myself for gengtype/GTY. * MAINTAINERS (Reviewers): Add myself for gengtype/GTY.

View File

@ -149,7 +149,7 @@ host_modules= { module= lto-plugin; bootstrap=true; };
target_modules = { module= libstdc++-v3; target_modules = { module= libstdc++-v3;
bootstrap=true; bootstrap=true;
lib_path=.libs; lib_path=src/.libs;
raw_cxx=true; }; raw_cxx=true; };
target_modules = { module= libmudflap; lib_path=.libs; }; target_modules = { module= libmudflap; lib_path=.libs; };
target_modules = { module= libssp; lib_path=.libs; }; target_modules = { module= libssp; lib_path=.libs; };

View File

@ -560,11 +560,11 @@ all:
### ###
# This is the list of directories that may be needed in RPATH_ENVVAR # This is the list of directories that may be needed in RPATH_ENVVAR
# so that prorgams built for the target machine work. # so that programs built for the target machine work.
TARGET_LIB_PATH = $(TARGET_LIB_PATH_libstdc++-v3)$(TARGET_LIB_PATH_libmudflap)$(TARGET_LIB_PATH_libssp)$(TARGET_LIB_PATH_libgomp)$(HOST_LIB_PATH_gcc) TARGET_LIB_PATH = $(TARGET_LIB_PATH_libstdc++-v3)$(TARGET_LIB_PATH_libmudflap)$(TARGET_LIB_PATH_libssp)$(TARGET_LIB_PATH_libgomp)$(HOST_LIB_PATH_gcc)
@if target-libstdc++-v3 @if target-libstdc++-v3
TARGET_LIB_PATH_libstdc++-v3 = $$r/$(TARGET_SUBDIR)/libstdc++-v3/.libs: TARGET_LIB_PATH_libstdc++-v3 = $$r/$(TARGET_SUBDIR)/libstdc++-v3/src/.libs:
@endif target-libstdc++-v3 @endif target-libstdc++-v3
@if target-libmudflap @if target-libmudflap

View File

@ -513,7 +513,7 @@ all:
### ###
# This is the list of directories that may be needed in RPATH_ENVVAR # This is the list of directories that may be needed in RPATH_ENVVAR
# so that prorgams built for the target machine work. # so that programs built for the target machine work.
TARGET_LIB_PATH = [+ FOR target_modules +][+ TARGET_LIB_PATH = [+ FOR target_modules +][+
IF lib_path +]$(TARGET_LIB_PATH_[+module+])[+ ENDIF lib_path +][+ IF lib_path +]$(TARGET_LIB_PATH_[+module+])[+ ENDIF lib_path +][+
ENDFOR target_modules +]$(HOST_LIB_PATH_gcc) ENDFOR target_modules +]$(HOST_LIB_PATH_gcc)