From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga11.intel.com (mga11.intel.com [192.55.52.93]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ml01.01.org (Postfix) with ESMTPS id A6B7D81D57 for ; Tue, 8 Nov 2016 16:01:59 -0800 (PST) Received: from orsmga003.jf.intel.com ([10.7.209.27]) by fmsmga102.fm.intel.com with ESMTP; 08 Nov 2016 16:02:02 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.31,611,1473145200"; d="scan'208";a="899272990" Received: from mxma-desk2.amr.corp.intel.com ([134.134.163.132]) by orsmga003.jf.intel.com with ESMTP; 08 Nov 2016 16:02:02 -0800 From: Maurice Ma To: edk2-devel@lists.01.org Cc: Maurice Ma , Prince Agyeman , Rusty Coleman Date: Tue, 8 Nov 2016 16:01:58 -0800 Message-Id: <1094a50dd1d59d7ae413abbac4d1584149c4ee09.1478649672.git.maurice.ma@intel.com> X-Mailer: git-send-email 1.9.5.msysgit.0 Subject: [PATCH] CorebootPayloadPkg: Fix GCC build issue on macro definition X-BeenThere: edk2-devel@lists.01.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: EDK II Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 09 Nov 2016 00:01:59 -0000 The previous change to disable deprecated APIs in CorebootPayloadPkg used "/D" instead of "-D". It caused Linux GCC build error. Correct it to use "-D" instead. Cc: Prince Agyeman Cc: Rusty Coleman Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Maurice Ma --- CorebootPayloadPkg/CorebootPayloadPkgIa32.dsc | 2 +- CorebootPayloadPkg/CorebootPayloadPkgIa32X64.dsc | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/CorebootPayloadPkg/CorebootPayloadPkgIa32.dsc b/CorebootPayloadPkg/CorebootPayloadPkgIa32.dsc index ad1a6dcf603c..d4b3f71157d7 100644 --- a/CorebootPayloadPkg/CorebootPayloadPkgIa32.dsc +++ b/CorebootPayloadPkg/CorebootPayloadPkgIa32.dsc @@ -88,7 +88,7 @@ DEFINE SHELL_TYPE = FULL_BIN [BuildOptions] - *_*_*_CC_FLAGS = /D DISABLE_NEW_DEPRECATED_INTERFACES + *_*_*_CC_FLAGS = -D DISABLE_NEW_DEPRECATED_INTERFACES GCC:*_UNIXGCC_*_CC_FLAGS = -DMDEPKG_NDEBUG GCC:RELEASE_*_*_CC_FLAGS = -DMDEPKG_NDEBUG INTEL:RELEASE_*_*_CC_FLAGS = /D MDEPKG_NDEBUG diff --git a/CorebootPayloadPkg/CorebootPayloadPkgIa32X64.dsc b/CorebootPayloadPkg/CorebootPayloadPkgIa32X64.dsc index c06cccbf889a..1e9bae9fb1e9 100644 --- a/CorebootPayloadPkg/CorebootPayloadPkgIa32X64.dsc +++ b/CorebootPayloadPkg/CorebootPayloadPkgIa32X64.dsc @@ -88,7 +88,7 @@ DEFINE SHELL_TYPE = FULL_BIN [BuildOptions] - *_*_*_CC_FLAGS = /D DISABLE_NEW_DEPRECATED_INTERFACES + *_*_*_CC_FLAGS = -D DISABLE_NEW_DEPRECATED_INTERFACES GCC:DEBUG_*_*_CC_FLAGS = -Og -flto GCC:DEBUG_*_*_DLINK_FLAGS = -flto GCC:*_UNIXGCC_*_CC_FLAGS = -DMDEPKG_NDEBUG -- 1.9.5.msysgit.0