[csw-devel] SF.net SVN: gar:[16455] csw/mgar/pkg/gcc4/trunk

wahwah at users.sourceforge.net wahwah at users.sourceforge.net
Sun Dec 11 00:38:39 CET 2011


Revision: 16455
          http://gar.svn.sourceforge.net/gar/?rev=16455&view=rev
Author:   wahwah
Date:     2011-12-10 23:38:39 +0000 (Sat, 10 Dec 2011)
Log Message:
-----------
gcc4/trunk: set default RPATH

Modified Paths:
--------------
    csw/mgar/pkg/gcc4/trunk/Makefile

Added Paths:
-----------
    csw/mgar/pkg/gcc4/trunk/files/0002-default-rpath.diff

Modified: csw/mgar/pkg/gcc4/trunk/Makefile
===================================================================
--- csw/mgar/pkg/gcc4/trunk/Makefile	2011-12-10 23:05:54 UTC (rev 16454)
+++ csw/mgar/pkg/gcc4/trunk/Makefile	2011-12-10 23:38:39 UTC (rev 16455)
@@ -21,6 +21,9 @@
 
 LIBOBJC = 3
 
+# Add default RPATH
+PATCHFILES = 0002-default-rpath.diff
+
 PACKAGING_PLATFORMS = solaris9-sparc solaris9-i386
 PACKAGING_PLATFORMS += solaris10-sparc solaris10-i386
 

Added: csw/mgar/pkg/gcc4/trunk/files/0002-default-rpath.diff
===================================================================
--- csw/mgar/pkg/gcc4/trunk/files/0002-default-rpath.diff	                        (rev 0)
+++ csw/mgar/pkg/gcc4/trunk/files/0002-default-rpath.diff	2011-12-10 23:38:39 UTC (rev 16455)
@@ -0,0 +1,14 @@
+--- gcc-4.6.2/gcc/config/i386/sol2-10.h	2011-12-11 00:34:08.341738656 +0100
++++ gcc-4.6.2/gcc/config/i386/sol2-10.h.mod	2011-12-11 00:32:27.545153224 +0100
+@@ -131,6 +131,11 @@
+ #define LINK_ARCH_SPEC TARGET_LD_EMULATION \
+ 		       "%{m64:" LINK_ARCH64_SPEC "}%{!m64:" LINK_ARCH32_SPEC "}"
+ 
++#undef LINK_LIBGCC_SPEC
++#define LINK_LIBGCC_SPEC "%{m64:" "-R /opt/csw/lib/64 %D" "}%{!m64:" "-R /opt/csw/lib %D" "}"
++#undef MD_EXEC_PREFIX
++#define MD_EXEC_PREFIX "/opt/csw/bin/"
++#define LINK_ELIMINATE_DUPLICATE_LDIRECTORIES 0
+ /* We do not need to search a special directory for startup files.  */
+ #undef MD_STARTFILE_PREFIX
+ 

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