diff options
author | Mark Donszelmann <Mark.Donszelmann@gmail.com> | 2007-07-06 19:06:29 +0000 |
---|---|---|
committer | Mark Donszelmann <Mark.Donszelmann@gmail.com> | 2007-07-06 19:06:29 +0000 |
commit | 2dac20493cf190fb56f04d1fe22f58c30eac1869 (patch) | |
tree | ebbcea6f539fbb3a474217c45502632f0c84289a /src/net/sf/antcontrib/cpptasks/hp | |
parent | 502ee6ac6df5cd8aa19c2c1f9db87861d763ac1b (diff) | |
download | cpptasks-parallel-2dac20493cf190fb56f04d1fe22f58c30eac1869.tar.gz cpptasks-parallel-2dac20493cf190fb56f04d1fe22f58c30eac1869.tar.bz2 cpptasks-parallel-2dac20493cf190fb56f04d1fe22f58c30eac1869.tar.xz cpptasks-parallel-2dac20493cf190fb56f04d1fe22f58c30eac1869.zip |
Fixed NARPLUGIN-106
Diffstat (limited to 'src/net/sf/antcontrib/cpptasks/hp')
-rw-r--r-- | src/net/sf/antcontrib/cpptasks/hp/aCCCompiler.java | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/src/net/sf/antcontrib/cpptasks/hp/aCCCompiler.java b/src/net/sf/antcontrib/cpptasks/hp/aCCCompiler.java index b603e1d..e556e6b 100644 --- a/src/net/sf/antcontrib/cpptasks/hp/aCCCompiler.java +++ b/src/net/sf/antcontrib/cpptasks/hp/aCCCompiler.java @@ -59,7 +59,11 @@ public final class aCCCompiler extends GccCompatibleCCompiler { /* * if (multithreaded) { args.addElement("-mt"); } */ - if (linkType.isSharedLibrary()) { + + // + // per patch 1193690 + // + if (linkType.isSharedLibrary() && (! args.contains("+Z"))) { args.addElement("+z"); } } |