diff options
Diffstat (limited to 'Tools')
-rw-r--r-- | Tools/Java/Source/GenBuild/org/tianocore/build/GenBuildTask.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Tools/Java/Source/GenBuild/org/tianocore/build/GenBuildTask.java b/Tools/Java/Source/GenBuild/org/tianocore/build/GenBuildTask.java index a849530109..28bfb9efb5 100644 --- a/Tools/Java/Source/GenBuild/org/tianocore/build/GenBuildTask.java +++ b/Tools/Java/Source/GenBuild/org/tianocore/build/GenBuildTask.java @@ -232,7 +232,7 @@ public class GenBuildTask extends Ant { Set<String> archSet = new LinkedHashSet<String>();
String archString = getProject().getProperty("ARCH");
- if (archString != null) {
+ if (archString != null && archString.length() > 0) {
String[] fpdArchList = archString.split(" ");
for (int i = 0; i < fpdArchList.length; i++) {
|