summaryrefslogtreecommitdiffstats
path: root/Nt32Pkg
diff options
context:
space:
mode:
authorCinnamon Shia <cinnamon.shia@hpe.com>2016-01-27 09:46:24 +0000
committerlgao4 <lgao4@Edk2>2016-01-27 09:46:24 +0000
commit5955601cdf1ee2e9bb8a977c3cefb2d9a110797d (patch)
tree653c99bf4317f09d373882b2657b702ab05a9eaa /Nt32Pkg
parentc4a5d3f10ed3faf96498182b9b8aa37933f5fd82 (diff)
downloadedk2-5955601cdf1ee2e9bb8a977c3cefb2d9a110797d.tar.gz
edk2-5955601cdf1ee2e9bb8a977c3cefb2d9a110797d.tar.bz2
edk2-5955601cdf1ee2e9bb8a977c3cefb2d9a110797d.zip
Nt32Pkg: Add NOOPT to NT32 build target
Add NOOPT to NT32 build target. With it, all modules of NT32 are built with optimization disabled. Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Cinnamon Shia <cinnamon.shia@hpe.com> Reviewed-by: Liming Gao <liming.gao@intel.com> git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@19753 6f19259b-4bc3-4df7-8a09-765794883524
Diffstat (limited to 'Nt32Pkg')
-rw-r--r--Nt32Pkg/Nt32Pkg.dsc3
1 files changed, 2 insertions, 1 deletions
diff --git a/Nt32Pkg/Nt32Pkg.dsc b/Nt32Pkg/Nt32Pkg.dsc
index ab56b9531c..87a08c0f10 100644
--- a/Nt32Pkg/Nt32Pkg.dsc
+++ b/Nt32Pkg/Nt32Pkg.dsc
@@ -30,7 +30,7 @@
DSC_SPECIFICATION = 0x00010005
OUTPUT_DIRECTORY = Build/NT32$(ARCH)
SUPPORTED_ARCHITECTURES = IA32|X64
- BUILD_TARGETS = DEBUG|RELEASE
+ BUILD_TARGETS = DEBUG|RELEASE|NOOPT
SKUID_IDENTIFIER = DEFAULT
FLASH_DEFINITION = Nt32Pkg/Nt32Pkg.fdf
#
@@ -480,6 +480,7 @@
###################################################################################################
[BuildOptions]
DEBUG_*_*_DLINK_FLAGS = /EXPORT:InitializeDriver=$(IMAGE_ENTRY_POINT) /BASE:0x10000 /ALIGN:4096 /FILEALIGN:4096 /SUBSYSTEM:CONSOLE
+ NOOPT_*_*_DLINK_FLAGS = /EXPORT:InitializeDriver=$(IMAGE_ENTRY_POINT) /BASE:0x10000 /ALIGN:4096 /FILEALIGN:4096 /SUBSYSTEM:CONSOLE
RELEASE_*_*_DLINK_FLAGS = /ALIGN:4096 /FILEALIGN:4096
#############################################################################################################