From cc0c00d6e5ace5f2e4ac4becbda7904290c07b37 Mon Sep 17 00:00:00 2001 From: Mark Donszelmann Date: Thu, 5 Jul 2007 18:13:30 +0000 Subject: Removed -prebind option --- PATCHES | 1 + src/net/sf/antcontrib/cpptasks/gcc/AbstractLdLinker.java | 3 ++- 2 files changed, 3 insertions(+), 1 deletion(-) 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"); } } -- cgit v1.2.3