X-Git-Url: https://git.proxmox.com/?p=mirror_edk2.git;a=blobdiff_plain;f=StdLib%2FStdLib.inc;h=013977c52a9416b5076910f4826a0526eefb3d22;hp=fa1865659ba80d36fa80c98cdc5a820c48873d29;hb=d78fab6b4e9be83b781212f6a9f3fde0c092e81d;hpb=2df686c67c7819e01a1487dd703faffef2b59dce diff --git a/StdLib/StdLib.inc b/StdLib/StdLib.inc index fa1865659b..013977c52a 100644 --- a/StdLib/StdLib.inc +++ b/StdLib/StdLib.inc @@ -5,7 +5,7 @@ # The including DSC file must DEFINE the EMULATE macro if # the application is to be run in an emulation environment. # -# Copyright (c) 2011, Intel Corporation. All rights reserved.
+# Copyright (c) 2011 - 2012, Intel Corporation. All rights reserved.
# This program and the accompanying materials # are licensed and made available under the terms and conditions of the BSD License # which accompanies this distribution. The full text of the license may be found at @@ -90,19 +90,19 @@ !ifndef $(EMULATE) # These Build Options are used when building the Standard Libraries to be run # on real hardware. - INTEL:*_*_*_CC_FLAGS = /Qfreestanding - MSFT:*_*_*_CC_FLAGS = /X /Zc:wchar_t - GCC:*_*_*_CC_FLAGS = -nostdinc -nostdlib - RVCT:*_*_*_CC_FLAGS = --library_interface=none -J$(WORKSPACE)/StdLib/Include -J$(WORKSPACE)/StdLib/Include/Arm - ARMGCC:*_*_*_CC_FLAGS = -nostdinc -nostdlib -Wno-unknown-pragmas -Wno-unused -Wno-format-zero-length + INTEL:*_*_*_CC_FLAGS = /Qfreestanding /D UEFI_C_SOURCE + MSFT:*_*_*_CC_FLAGS = /X /Zc:wchar_t /D UEFI_C_SOURCE + GCC:*_*_*_CC_FLAGS = -nostdinc -nostdlib -DUEFI_C_SOURCE + RVCT:*_*_*_CC_FLAGS = --library_interface=none -DUEFI_C_SOURCE -J$(WORKSPACE)/StdLib/Include -J$(WORKSPACE)/StdLib/Include/Arm + ARMGCC:*_*_*_CC_FLAGS = -nostdinc -nostdlib -DUEFI_C_SOURCE -Wno-unknown-pragmas -Wno-unused -Wno-format-zero-length !else # The Build Options, below, are only used when building the Standard Libraries # to be run under an emulation environment. # They disable optimization which facillitates debugging under the Emulation environment. - INTEL:*_*_IA32_CC_FLAGS = /Od - MSFT:*_*_IA32_CC_FLAGS = /Od - GCC:*_*_IA32_CC_FLAGS = -O0 - RVCT:*_*_*_CC_FLAGS = --library_interface=none -J$(WORKSPACE)/StdLib/Include -J$(WORKSPACE)/StdLib/Include/Arm - ARMGCC:*_*_*_CC_FLAGS = -O0 -Wno-unknown-pragmas -Wno-unused -Wno-format-zero-length + INTEL:*_*_IA32_CC_FLAGS = /Od /D UEFI_C_SOURCE + MSFT:*_*_IA32_CC_FLAGS = /Od /D UEFI_C_SOURCE + GCC:*_*_IA32_CC_FLAGS = -O0 -DUEFI_C_SOURCE + RVCT:*_*_*_CC_FLAGS = --library_interface=none -DUEFI_C_SOURCE -J$(WORKSPACE)/StdLib/Include -J$(WORKSPACE)/StdLib/Include/Arm + ARMGCC:*_*_*_CC_FLAGS = -O0 -DUEFI_C_SOURCE -Wno-unknown-pragmas -Wno-unused -Wno-format-zero-length !endif