Author: dcoakley Date: 2010-11-22 02:08:09 -0500 (Mon, 22 Nov 2010) New Revision: 3406
Modified: trunk/osprey/driver/phases.c Log: Do not add linker rpath options when building the compiler's libraries. The rpath option is used to provide a default location for the compiler's shared libraries. It should only be set once the compiler has been installed since we want to refer to the installation directory, not the build directory. Approved by: Sun Chan Modified: trunk/osprey/driver/phases.c =================================================================== --- trunk/osprey/driver/phases.c 2010-11-22 03:48:38 UTC (rev 3405) +++ trunk/osprey/driver/phases.c 2010-11-22 07:08:09 UTC (rev 3406) @@ -2315,6 +2315,13 @@ } /* + * When building the compiler's libraries, do not append any rpath + * options since these would reference the build directory. + */ + if (run_build) + return; + + /* * For some reason, our cross linker won't find libraries in some * directories unless it's told about them with -rpath-link. * Here, we scan all -L flags and pass them as -rpath-link flags, ------------------------------------------------------------------------------ Beautiful is writing same markup. Internet Explorer 9 supports standards for HTML5, CSS3, SVG 1.1, ECMAScript5, and DOM L2 & L3. Spend less time writing and rewriting code and more time creating great experiences on the web. Be a part of the beta today http://p.sf.net/sfu/msIE9-sfdev2dev _______________________________________________ Open64-devel mailing list Open64-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/open64-devel