From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mga06.intel.com (mga06.intel.com [134.134.136.31]) by mx.groups.io with SMTP id smtpd.web08.50435.1629265341708850809 for ; Tue, 17 Aug 2021 22:42:24 -0700 Authentication-Results: mx.groups.io; dkim=missing; spf=pass (domain: intel.com, ip: 134.134.136.31, mailfrom: michael.d.kinney@intel.com) X-IronPort-AV: E=McAfee;i="6200,9189,10079"; a="277283652" X-IronPort-AV: E=Sophos;i="5.84,330,1620716400"; d="scan'208";a="277283652" Received: from fmsmga006.fm.intel.com ([10.253.24.20]) by orsmga104.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 17 Aug 2021 22:42:22 -0700 X-IronPort-AV: E=Sophos;i="5.84,330,1620716400"; d="scan'208";a="676909208" Received: from mdkinney-mobl2.amr.corp.intel.com ([10.209.89.84]) by fmsmga006-auth.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 17 Aug 2021 22:42:22 -0700 From: "Michael D Kinney" To: devel@edk2.groups.io Cc: Rebecca Cran Subject: [edk2-libc Patch 8/9] AppPkg/Applications/Python: Enable HAVE_COPYSIGN define Date: Tue, 17 Aug 2021 22:42:05 -0700 Message-Id: <20210818054206.1223-9-michael.d.kinney@intel.com> X-Mailer: git-send-email 2.32.0.windows.1 In-Reply-To: <20210818054206.1223-1-michael.d.kinney@intel.com> References: <20210818054206.1223-1-michael.d.kinney@intel.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit REF: https://bugzilla.tianocore.org/show_bug.cgi?id=3549 Update Python configuration to enable the HAVE_COPYSIGN define to prevent multiple defined symbols link failure for copysign(). Cc: Rebecca Cran Signed-off-by: Michael D Kinney --- AppPkg/Applications/Python/Ia32/pyconfig.h | 2 +- AppPkg/Applications/Python/Python-2.7.10/Ia32/pyconfig.h | 2 +- AppPkg/Applications/Python/Python-2.7.10/X64/pyconfig.h | 2 +- AppPkg/Applications/Python/X64/pyconfig.h | 3 +-- 4 files changed, 4 insertions(+), 5 deletions(-) diff --git a/AppPkg/Applications/Python/Ia32/pyconfig.h b/AppPkg/Applications/Python/Ia32/pyconfig.h index ef241a9..2d73346 100644 --- a/AppPkg/Applications/Python/Ia32/pyconfig.h +++ b/AppPkg/Applications/Python/Ia32/pyconfig.h @@ -125,7 +125,7 @@ #undef HAVE_CONIO_H /* Define to 1 if you have the 'copysign' function. */ -#undef HAVE_COPYSIGN +#define HAVE_COPYSIGN 1 /* Define to 1 if you have the 'ctermid' function. */ #undef HAVE_CTERMID diff --git a/AppPkg/Applications/Python/Python-2.7.10/Ia32/pyconfig.h b/AppPkg/Applications/Python/Python-2.7.10/Ia32/pyconfig.h index 5aa936c..5a86ec3 100644 --- a/AppPkg/Applications/Python/Python-2.7.10/Ia32/pyconfig.h +++ b/AppPkg/Applications/Python/Python-2.7.10/Ia32/pyconfig.h @@ -138,7 +138,7 @@ #undef HAVE_CONIO_H /* Define to 1 if you have the 'copysign' function. */ -#undef HAVE_COPYSIGN +#define HAVE_COPYSIGN 1 /* Define to 1 if you have the 'ctermid' function. */ #undef HAVE_CTERMID diff --git a/AppPkg/Applications/Python/Python-2.7.10/X64/pyconfig.h b/AppPkg/Applications/Python/Python-2.7.10/X64/pyconfig.h index 92731f7..f07db09 100644 --- a/AppPkg/Applications/Python/Python-2.7.10/X64/pyconfig.h +++ b/AppPkg/Applications/Python/Python-2.7.10/X64/pyconfig.h @@ -138,7 +138,7 @@ #undef HAVE_CONIO_H /* Define to 1 if you have the 'copysign' function. */ -#undef HAVE_COPYSIGN +#define HAVE_COPYSIGN 1 /* Define to 1 if you have the 'ctermid' function. */ #undef HAVE_CTERMID diff --git a/AppPkg/Applications/Python/X64/pyconfig.h b/AppPkg/Applications/Python/X64/pyconfig.h index 81dbada..00ff4f9 100644 --- a/AppPkg/Applications/Python/X64/pyconfig.h +++ b/AppPkg/Applications/Python/X64/pyconfig.h @@ -132,7 +132,7 @@ #undef HAVE_CONIO_H /* Define to 1 if you have the 'copysign' function. */ -#undef HAVE_COPYSIGN +#define HAVE_COPYSIGN 1 /* Define to 1 if you have the 'ctermid' function. */ #undef HAVE_CTERMID @@ -1299,4 +1299,3 @@ //#undef volatile #endif /*Py_PYCONFIG_H*/ - -- 2.32.0.windows.1