[csw-devel] SF.net SVN: gar:[16751] csw/mgar/pkg/gcc4/branches/private-lib/Makefile
wahwah at users.sourceforge.net
wahwah at users.sourceforge.net
Thu Jan 12 20:15:50 CET 2012
Revision: 16751
http://gar.svn.sourceforge.net/gar/?rev=16751&view=rev
Author: wahwah
Date: 2012-01-12 19:15:49 +0000 (Thu, 12 Jan 2012)
Log Message:
-----------
gcc4/branches/private-lib: A test run of GCC with private libs. Package names aren't adjusted yet.
Modified Paths:
--------------
csw/mgar/pkg/gcc4/branches/private-lib/Makefile
Modified: csw/mgar/pkg/gcc4/branches/private-lib/Makefile
===================================================================
--- csw/mgar/pkg/gcc4/branches/private-lib/Makefile 2012-01-12 16:52:55 UTC (rev 16750)
+++ csw/mgar/pkg/gcc4/branches/private-lib/Makefile 2012-01-12 19:15:49 UTC (rev 16751)
@@ -43,6 +43,8 @@
# Could be used to break out of the /opt/csw/$(PKG_VERSION_TOKEN) prefix
PROGRAM_SUFFIX = -$(BASE_VERSION)
+libdir_install = $(prefix)/lib/gcc/$(BASE_VERSION)
+
## build options
# http://gcc.gnu.org/install/configure.html
@@ -528,7 +530,7 @@
PATH := /opt/csw/gnu:$(PATH)
# This override sets the right RPATH on libstdc++ and other libraries.
-LD_OPTIONS := -R/opt/csw/lib -R/opt/csw/lib/\$$ISALIST
+LD_OPTIONS := -R$(libdir_install) -R$(libdir_install)/\$$ISALIST
CONFIGURE_ENV := PATH=$(PATH) CC=$(CC) LD_OPTIONS="$(LD_OPTIONS)"
BUILD_ENV := PATH=$(PATH) LD_OPTIONS="$(LD_OPTIONS)"
INSTALL_ENV := PATH=$(PATH)
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
More information about the devel
mailing list