summaryrefslogtreecommitdiffstats
path: root/src/net/sf/antcontrib/cpptasks/gcc/GccCCompiler.java
diff options
context:
space:
mode:
Diffstat (limited to 'src/net/sf/antcontrib/cpptasks/gcc/GccCCompiler.java')
-rw-r--r--src/net/sf/antcontrib/cpptasks/gcc/GccCCompiler.java3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/net/sf/antcontrib/cpptasks/gcc/GccCCompiler.java b/src/net/sf/antcontrib/cpptasks/gcc/GccCCompiler.java
index 999ccf7..d58d1b3 100644
--- a/src/net/sf/antcontrib/cpptasks/gcc/GccCCompiler.java
+++ b/src/net/sf/antcontrib/cpptasks/gcc/GccCCompiler.java
@@ -234,7 +234,8 @@ public final class GccCCompiler extends GccCompatibleCCompiler {
return identifier;
}
public Linker getLinker(LinkType linkType) {
- return GccLinker.getInstance().getLinker(linkType);
+ GccLinker linker = GccLinker.getInstance();
+ return linker.getLinker(linkType);
}
public int getMaximumCommandLength() {
return Integer.MAX_VALUE;