Skip to main content
aboutsummaryrefslogtreecommitdiffstats
path: root/build
diff options
context:
space:
mode:
authorOleg Krasilnikov2008-02-21 15:26:39 +0000
committerOleg Krasilnikov2008-02-21 15:26:39 +0000
commitd7f3e235cc0445bd1f3f0e8c56ef38c7a3d2aeaf (patch)
tree04dc7c24c75e5f8e8b52d525ef8b71e56432e5ff /build
parent53381a1c53c7ba1ceda8f4d3d19723ac303d0d62 (diff)
downloadorg.eclipse.cdt-d7f3e235cc0445bd1f3f0e8c56ef38c7a3d2aeaf.tar.gz
org.eclipse.cdt-d7f3e235cc0445bd1f3f0e8c56ef38c7a3d2aeaf.tar.xz
org.eclipse.cdt-d7f3e235cc0445bd1f3f0e8c56ef38c7a3d2aeaf.zip
Bug # 219684 : ApplicabilityCalculator can't set bool val in CDT4
Diffstat (limited to 'build')
-rw-r--r--build/org.eclipse.cdt.managedbuilder.core/src/org/eclipse/cdt/managedbuilder/internal/core/Tool.java4
1 files changed, 3 insertions, 1 deletions
diff --git a/build/org.eclipse.cdt.managedbuilder.core/src/org/eclipse/cdt/managedbuilder/internal/core/Tool.java b/build/org.eclipse.cdt.managedbuilder.core/src/org/eclipse/cdt/managedbuilder/internal/core/Tool.java
index 6a0f298302e..ddcb903adf2 100644
--- a/build/org.eclipse.cdt.managedbuilder.core/src/org/eclipse/cdt/managedbuilder/internal/core/Tool.java
+++ b/build/org.eclipse.cdt.managedbuilder.core/src/org/eclipse/cdt/managedbuilder/internal/core/Tool.java
@@ -2569,7 +2569,9 @@ public class Tool extends HoldsOptions implements ITool, IOptionCategory, IMatch
ArrayList flags = new ArrayList();
StringBuffer sb = new StringBuffer();
for (int index = 0; index < opts.length; index++) {
- IOption option = opts[index];
+ IOption option = getOptionToSet(opts[index], false);
+ if (option == null)
+ continue;
sb.setLength( 0 );
// check to see if the option has an applicability calculator

Back to the top