Fix a bug that can't add library MSA specific build option in multi-thread build...
authorwuyizhong <wuyizhong@6f19259b-4bc3-4df7-8a09-765794883524>
Wed, 8 Nov 2006 03:27:53 +0000 (03:27 +0000)
committerwuyizhong <wuyizhong@6f19259b-4bc3-4df7-8a09-765794883524>
Wed, 8 Nov 2006 03:27:53 +0000 (03:27 +0000)
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1914 6f19259b-4bc3-4df7-8a09-765794883524

Tools/Java/Source/GenBuild/org/tianocore/build/fpd/FpdParserForThread.java

index a2f22c1..286933f 100644 (file)
@@ -330,6 +330,11 @@ public class FpdParserForThread extends FpdParserTask {
                 allThreads.put(libFpdModuleId, liBuildThread);\r
                 \r
                 updateFvs("libqueue", libFpdModuleId);\r
+                \r
+                saq.push(GlobalData.getDoc(libinstances[i], fpdModuleId.getArch()));\r
+                GlobalData.addMsaBuildOption(libinstances[i], parseMsaBuildOptions(false));\r
+                GlobalData.addMsaFamilyBuildOption(libinstances[i], parseMsaBuildOptions(true));\r
+                saq.pop();\r
             }\r
             \r
             genBuildThread.setDependencies(dependencies);\r