summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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");
}
}