From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mga03.intel.com (mga03.intel.com [134.134.136.65]) by mx.groups.io with SMTP id smtpd.web09.4441.1634181171085037265 for ; Wed, 13 Oct 2021 20:12:51 -0700 Authentication-Results: mx.groups.io; dkim=missing; spf=pass (domain: intel.com, ip: 134.134.136.65, mailfrom: jiyangx.yang@intel.com) X-IronPort-AV: E=McAfee;i="6200,9189,10136"; a="227547024" X-IronPort-AV: E=Sophos;i="5.85,371,1624345200"; d="scan'208";a="227547024" Received: from orsmga001.jf.intel.com ([10.7.209.18]) by orsmga103.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 13 Oct 2021 20:12:49 -0700 X-IronPort-AV: E=Sophos;i="5.85,371,1624345200"; d="scan'208";a="524889841" Received: from jiyangyx-mobl.ccr.corp.intel.com ([10.249.173.13]) by orsmga001-auth.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 13 Oct 2021 20:12:46 -0700 From: jiyangx.yang@intel.com To: devel@edk2.groups.io Cc: Jiyang Yang , Ard Biesheuvel , Sami Mujawar , Jiewen Yao , Supreeth Venkatesh , Vitaly Cheptsov , =?UTF-8?q?Marvin=20H=C3=A4user?= , Steven Shi Subject: [PATCH v1 0/1] StandaloneMmPkg: To support CLANGPDB build Date: Thu, 14 Oct 2021 11:12:34 +0800 Message-Id: <20211014031235.1839-1-jiyangx.yang@intel.com> X-Mailer: git-send-email 2.33.0.windows.2 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit the flag "-fpie" is passed for all builds with a GCC family toolchain, including CLANGPDB, but CLANGPDB does not support this flag, it will report "clang: error: unsupported option '-fpie' for target 'x86_64-unknown-windows-gnu'". So we add the CLANGPDB option "-fno-pie" later to overwrite it. Cc: Ard Biesheuvel Cc: Sami Mujawar Cc: Jiewen Yao Cc: Supreeth Venkatesh Cc: Vitaly Cheptsov Cc: Marvin Häuser Cc: Steven Shi Signed-off-by: Jiyang Yang Jiyang Yang (1): StandaloneMmPkg/StandaloneMmCoreEntryPoint: To support CLANGPDB build StandaloneMmPkg/Core/StandaloneMmCore.inf | 2 ++ StandaloneMmPkg/Library/StandaloneMmCoreEntryPoint/StandaloneMmCoreEntryPoint.inf | 1 + 2 files changed, 3 insertions(+) -- 2.26.2.windows.1