summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMark Donszelmann <Mark.Donszelmann@gmail.com>2007-07-05 18:13:30 +0000
committerMark Donszelmann <Mark.Donszelmann@gmail.com>2007-07-05 18:13:30 +0000
commitcc0c00d6e5ace5f2e4ac4becbda7904290c07b37 (patch)
tree466b3097027a76409dbfcef04800cb740488121c
parent6e69fb4e8cb97445badcd1f12e5ba09560eda5a9 (diff)
downloadcpptasks-parallel-cc0c00d6e5ace5f2e4ac4becbda7904290c07b37.tar.gz
cpptasks-parallel-cc0c00d6e5ace5f2e4ac4becbda7904290c07b37.tar.bz2
cpptasks-parallel-cc0c00d6e5ace5f2e4ac4becbda7904290c07b37.tar.xz
cpptasks-parallel-cc0c00d6e5ace5f2e4ac4becbda7904290c07b37.zip
Removed -prebind option
-rw-r--r--PATCHES1
-rw-r--r--src/net/sf/antcontrib/cpptasks/gcc/AbstractLdLinker.java3
2 files changed, 3 insertions, 1 deletions
diff --git a/PATCHES b/PATCHES
index f7c0484..98d22cf 100644
--- a/PATCHES
+++ b/PATCHES
@@ -1,5 +1,6 @@
*** Changes marked with FREEHEP.
1.5-SNAPSHOT
+- [gcc.AbstractLdLinker] no more need for -prebind
- g++ linking now includes option -fexceptions
cpptasks-20051015-patched-1.4
diff --git a/src/net/sf/antcontrib/cpptasks/gcc/AbstractLdLinker.java b/src/net/sf/antcontrib/cpptasks/gcc/AbstractLdLinker.java
index cb4c125..27cbfa5 100644
--- a/src/net/sf/antcontrib/cpptasks/gcc/AbstractLdLinker.java
+++ b/src/net/sf/antcontrib/cpptasks/gcc/AbstractLdLinker.java
@@ -63,7 +63,8 @@ public abstract class AbstractLdLinker extends CommandLineLinker {
args.addElement("-bundle");
} else {
if (linkType.isSharedLibrary()) {
- args.addElement("-prebind");
+// No longer needed for 10.4 and up.
+// args.addElement("-prebind");
args.addElement("-dynamiclib");
}
}