diff mbox

[google] Omit another TARGET_LIB_PATH from RPATH_ENVVAR set on bootstrap builds (issue6446102)

Message ID 20120808154900.77070A16EF@xoom.chi.corp.google.com
State New
Headers show

Commit Message

Simon Baldwin Aug. 8, 2012, 3:49 p.m. UTC
Omit another TARGET_LIB_PATH from RPATH_ENVVAR set on bootstrap builds.

A second occurrence of adding TARGET_LIB_PATH to LD_LIBRARY_PATH on gcc
bootstrap builds.  This one also needs removing to enable full test coverage.

Discussion and rationale at: http://gcc.gnu.org/ml/gcc/2012-06/msg00314.html

For google/main, google/gcc-4_7 and google/gcc-4_7-integration.  Tested for
bootstrap and regression.

2012-08-08  Simon Baldwin  <simonb@google.com>

	* Makefile.tpl: Omit another TARGET_LIB_PATH from RPATH_ENVVAR set
	on bootstrap builds.
	* Makefile.in: Regenerate.



--
This patch is available for review at http://codereview.appspot.com/6446102

Comments

Diego Novillo Aug. 8, 2012, 4:01 p.m. UTC | #1
On 12-08-08 11:49 , Simon Baldwin wrote:
> Omit another TARGET_LIB_PATH from RPATH_ENVVAR set on bootstrap builds.
>
> A second occurrence of adding TARGET_LIB_PATH to LD_LIBRARY_PATH on gcc
> bootstrap builds.  This one also needs removing to enable full test coverage.
>
> Discussion and rationale at: http://gcc.gnu.org/ml/gcc/2012-06/msg00314.html
>
> For google/main, google/gcc-4_7 and google/gcc-4_7-integration.  Tested for
> bootstrap and regression.
>
> 2012-08-08  Simon Baldwin  <simonb@google.com>
>
> 	* Makefile.tpl: Omit another TARGET_LIB_PATH from RPATH_ENVVAR set
> 	on bootstrap builds.
> 	* Makefile.in: Regenerate.

OK, but I gotta ask again... shouldn't this be in google/integration? :)


Diego.
diff mbox

Patch

Index: Makefile.in
===================================================================
--- Makefile.in	(revision 190231)
+++ Makefile.in	(working copy)
@@ -288,9 +288,6 @@  BASE_TARGET_EXPORTS = \
 	STRIP="$(STRIP_FOR_TARGET)"; export STRIP; \
 	WINDRES="$(WINDRES_FOR_TARGET)"; export WINDRES; \
 	WINDMC="$(WINDMC_FOR_TARGET)"; export WINDMC; \
-@if gcc-bootstrap
-	$(RPATH_ENVVAR)=`echo "$(TARGET_LIB_PATH)$$$(RPATH_ENVVAR)" | sed 's,::*,:,g;s,^:*,,;s,:*$$,,'`; export $(RPATH_ENVVAR); \
-@endif gcc-bootstrap
 	$(RPATH_ENVVAR)=`echo "$(HOST_LIB_PATH)$$$(RPATH_ENVVAR)" | sed 's,::*,:,g;s,^:*,,;s,:*$$,,'`; export $(RPATH_ENVVAR); \
 	TARGET_CONFIGDIRS="$(TARGET_CONFIGDIRS)"; export TARGET_CONFIGDIRS;
 
Index: Makefile.tpl
===================================================================
--- Makefile.tpl	(revision 190231)
+++ Makefile.tpl	(working copy)
@@ -291,9 +291,6 @@  BASE_TARGET_EXPORTS = \
 	STRIP="$(STRIP_FOR_TARGET)"; export STRIP; \
 	WINDRES="$(WINDRES_FOR_TARGET)"; export WINDRES; \
 	WINDMC="$(WINDMC_FOR_TARGET)"; export WINDMC; \
-@if gcc-bootstrap
-	$(RPATH_ENVVAR)=`echo "$(TARGET_LIB_PATH)$$$(RPATH_ENVVAR)" | sed 's,::*,:,g;s,^:*,,;s,:*$$,,'`; export $(RPATH_ENVVAR); \
-@endif gcc-bootstrap
 	$(RPATH_ENVVAR)=`echo "$(HOST_LIB_PATH)$$$(RPATH_ENVVAR)" | sed 's,::*,:,g;s,^:*,,;s,:*$$,,'`; export $(RPATH_ENVVAR); \
 	TARGET_CONFIGDIRS="$(TARGET_CONFIGDIRS)"; export TARGET_CONFIGDIRS;