diff options
author | lgao4 <lgao4@6f19259b-4bc3-4df7-8a09-765794883524> | 2009-03-31 02:21:43 +0000 |
---|---|---|
committer | lgao4 <lgao4@6f19259b-4bc3-4df7-8a09-765794883524> | 2009-03-31 02:21:43 +0000 |
commit | 2ab2aad18b5c4d61c34125ce17aae52048e6ba3f (patch) | |
tree | acafaf2f80404e14bc9644ae1ab93a6fbcdae148 | |
parent | a440187f4e60debbf44c0cfaa274e4ea0ae10a7f (diff) | |
download | edk2-platforms-2ab2aad18b5c4d61c34125ce17aae52048e6ba3f.tar.xz |
Fix AcpiTable C file build failure, because the compiler don't know how to set subsystem when entrypoint is not main. Append /SUBSYSTEM:CONSOLE link option.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7987 6f19259b-4bc3-4df7-8a09-765794883524
-rw-r--r-- | BaseTools/Conf/tools_def.template | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/BaseTools/Conf/tools_def.template b/BaseTools/Conf/tools_def.template index 14dc76b4cf..6c1be1d93d 100644 --- a/BaseTools/Conf/tools_def.template +++ b/BaseTools/Conf/tools_def.template @@ -802,7 +802,7 @@ RELEASE_MYTOOLS_IPF_DLINK_FLAGS = /NOLOGO /NODEFAULTLIB /LTCG /DLL /OPT # Asl Compiler definitions
##################
*_*_*_ASLCC_FLAGS = /GL- /Y- /TC /Dmain=ReferenceAcpiTable
-*_*_*_ASLDLINK_FLAGS = /NODEFAULTLIB /ENTRY:ReferenceAcpiTable
+*_*_*_ASLDLINK_FLAGS = /NODEFAULTLIB /ENTRY:ReferenceAcpiTable /SUBSYSTEM:CONSOLE
*_*_*_ASLPP_FLAGS = /nologo /EP /C
*_*_*_ASL_FLAGS =
|