]> git.proxmox.com Git - mirror_edk2.git/commit - Vlv2TbltDevicePkg/PlatformPkgGccX64.dsc
Vlv2TbltDevicePkg: Only define MDEPKG_NDEBUG for gcc release build
authorGary Lin <glin@suse.com>
Fri, 29 Jul 2016 03:25:21 +0000 (11:25 +0800)
committerdavid wei <david.wei@intel.com>
Wed, 3 Aug 2016 03:02:12 +0000 (11:02 +0800)
commit9e9d99231033ce2eca150a3fd6f8c8d6217234bd
tree6755ca53ff49d14ce3b920cb6853a5d89ada4d83
parent69e16a2870cb546249c3c5271ecef36ee9fb7131
Vlv2TbltDevicePkg: Only define MDEPKG_NDEBUG for gcc release build

We only enable "-Wno-unused-but-set-variable" for the release build
and gcc would complain that the varible passed to ASSERT_EFI_ERROR
wasn't used in the debug build. Just don't define MDEPKG_NDEBUG for
the debug build to make gcc happy with ASSERT_EFI_ERROR.

Suggested-by: Laszlo Ersek <lersek@redhat.com>
Cc: David Wei <david.wei@intel.com>
CC: Laszlo Ersek <lersek@redhat.com>
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Gary Lin <glin@suse.com>
Vlv2TbltDevicePkg/PlatformPkgGccX64.dsc