summaryrefslogtreecommitdiff
path: root/Tools/Java
diff options
context:
space:
mode:
authorwuyizhong <wuyizhong@6f19259b-4bc3-4df7-8a09-765794883524>2006-11-08 03:27:53 +0000
committerwuyizhong <wuyizhong@6f19259b-4bc3-4df7-8a09-765794883524>2006-11-08 03:27:53 +0000
commite4764daec7e4132ca033d5d6d35ab403e344307c (patch)
treec39114c9978db6d6952990b09dc374057ac3fba4 /Tools/Java
parent9e0e49fc76ce84779b34cf11a4bced3911df0391 (diff)
downloadedk2-platforms-e4764daec7e4132ca033d5d6d35ab403e344307c.tar.xz
Fix a bug that can't add library MSA specific build option in multi-thread build mode.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1914 6f19259b-4bc3-4df7-8a09-765794883524
Diffstat (limited to 'Tools/Java')
-rw-r--r--Tools/Java/Source/GenBuild/org/tianocore/build/fpd/FpdParserForThread.java5
1 files changed, 5 insertions, 0 deletions
diff --git a/Tools/Java/Source/GenBuild/org/tianocore/build/fpd/FpdParserForThread.java b/Tools/Java/Source/GenBuild/org/tianocore/build/fpd/FpdParserForThread.java
index a2f22c1b0b..286933f8ca 100644
--- a/Tools/Java/Source/GenBuild/org/tianocore/build/fpd/FpdParserForThread.java
+++ b/Tools/Java/Source/GenBuild/org/tianocore/build/fpd/FpdParserForThread.java
@@ -330,6 +330,11 @@ public class FpdParserForThread extends FpdParserTask {
allThreads.put(libFpdModuleId, liBuildThread);
updateFvs("libqueue", libFpdModuleId);
+
+ saq.push(GlobalData.getDoc(libinstances[i], fpdModuleId.getArch()));
+ GlobalData.addMsaBuildOption(libinstances[i], parseMsaBuildOptions(false));
+ GlobalData.addMsaFamilyBuildOption(libinstances[i], parseMsaBuildOptions(true));
+ saq.pop();
}
genBuildThread.setDependencies(dependencies);