tianocore / edk2

EDK II
https://github.com/tianocore/tianocore.github.io/wiki/EDK-II
Other
4.52k stars 2.44k forks source link

BaseTools: fix build error with TOOL_CHAIN_TAG VS2015 & VS2015x86 #5882

Closed wilson9chen closed 1 month ago

wilson9chen commented 2 months ago

Description

Fix the build error with TOOL_CHAIN_TAG VS2015 & VS2015x86

When launch the build with TOOL_CHAIN_TAG VS2015: Build -t VS2015

We would get following build error message: 'c:\Program' is not recognized as an internal or external command, operable program or batch file. NMAKE : fatal error U1077: '"c:\Program Files\Windows Kits\8.1\bin\x86\rc.exe' : return code '0x1' Stop.

<Delete lines in \<> tags before creating the PR.>

How This Was Tested

<Describe the test(s) that were run to verify the changes.> Tested : TOOL_CHAIN_TAG = VS2015 (> Build -t VS2015) TOOL_CHAIN_TAG = VS2015x86 (> Build -t VS2015x86)

Integration Instructions

N/A

wilson9chen commented 1 month ago

Would try to re-open another Pull request

wilson9chen commented 1 month ago

The new Pull request: https://github.com/tianocore/edk2/pull/5984