From e4764daec7e4132ca033d5d6d35ab403e344307c Mon Sep 17 00:00:00 2001 From: wuyizhong Date: Wed, 8 Nov 2006 03:27:53 +0000 Subject: 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 --- .../Source/GenBuild/org/tianocore/build/fpd/FpdParserForThread.java | 5 +++++ 1 file changed, 5 insertions(+) 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); -- cgit v1.2.3