[92369] trunk/dports/devel/ld64/files/ld64-85-no_pie.patch

jeremyhu at macports.org jeremyhu at macports.org
Thu Apr 26 10:58:29 PDT 2012


Revision: 92369
          https://trac.macports.org/changeset/92369
Author:   jeremyhu at macports.org
Date:     2012-04-26 10:58:29 -0700 (Thu, 26 Apr 2012)
Log Message:
-----------
ld64: Remove the LD_NO_PIE hunk as it's not needed

Modified Paths:
--------------
    trunk/dports/devel/ld64/files/ld64-85-no_pie.patch

Modified: trunk/dports/devel/ld64/files/ld64-85-no_pie.patch
===================================================================
--- trunk/dports/devel/ld64/files/ld64-85-no_pie.patch	2012-04-26 17:51:23 UTC (rev 92368)
+++ trunk/dports/devel/ld64/files/ld64-85-no_pie.patch	2012-04-26 17:58:29 UTC (rev 92369)
@@ -38,18 +38,6 @@
  			else if ( strncmp(arg, "-reexport-l", 11) == 0 ) {
  				FileInfo info = findLibrary(&arg[11], true);
  				info.options.fReExport = true;
-@@ -2614,6 +2618,11 @@ void Options::reconfigureDefaults()
- 			}
- 			break;
- 	}
-+	// temporary until projects adopt -no_pie
-+	if ( getenv("LD_NO_PIE") != NULL ) {
-+		warning("LD_NO_PIE being used to disble building a position independent executable");
-+		fDisablePositionIndependentExecutable = true;
-+	}
- 
- 	// disable implicit dylibs when targetting 10.3
- 	// <rdar://problem/5451987> add option to disable implicit load commands for indirectly used public dylibs
 @@ -3050,7 +3059,11 @@ void Options::checkIllegalOptionCombinat
  		}
  	}
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20120426/87786937/attachment.html>


More information about the macports-changes mailing list