mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-12-26 01:30:55 +08:00
[gmp] remove embedded compiler info (#42443)
This commit is contained in:
parent
3968ae86f7
commit
f6a91a80e3
@ -21,6 +21,7 @@ vcpkg_extract_source_archive(SOURCE_PATH
|
||||
subdirs.patch
|
||||
msvc_symbol.patch
|
||||
arm64-coff.patch
|
||||
remove_compiler_info.patch
|
||||
)
|
||||
|
||||
vcpkg_list(SET OPTIONS)
|
||||
|
15
ports/gmp/remove_compiler_info.patch
Normal file
15
ports/gmp/remove_compiler_info.patch
Normal file
@ -0,0 +1,15 @@
|
||||
diff --git a/gmp-h.in b/gmp-h.in
|
||||
index 648c933582..fa37296fe4 100644
|
||||
--- a/gmp-h.in
|
||||
+++ b/gmp-h.in
|
||||
@@ -2330,10 +2330,6 @@ enum
|
||||
GMP_ERROR_MPZ_OVERFLOW = 16
|
||||
};
|
||||
|
||||
-/* Define CC and CFLAGS which were used to build this version of GMP */
|
||||
-#define __GMP_CC "@CC@"
|
||||
-#define __GMP_CFLAGS "@CFLAGS@"
|
||||
-
|
||||
/* Major version number is the value of __GNU_MP__ too, above. */
|
||||
#define __GNU_MP_VERSION 6
|
||||
#define __GNU_MP_VERSION_MINOR 3
|
@ -1,7 +1,7 @@
|
||||
{
|
||||
"name": "gmp",
|
||||
"version": "6.3.0",
|
||||
"port-version": 1,
|
||||
"port-version": 2,
|
||||
"description": "The GNU Multiple Precision Arithmetic Library",
|
||||
"homepage": "https://gmplib.org",
|
||||
"license": "LGPL-3.0-only OR GPL-2.0-only",
|
||||
|
@ -3210,7 +3210,7 @@
|
||||
},
|
||||
"gmp": {
|
||||
"baseline": "6.3.0",
|
||||
"port-version": 1
|
||||
"port-version": 2
|
||||
},
|
||||
"gmsh": {
|
||||
"baseline": "4.13.1",
|
||||
|
@ -1,5 +1,10 @@
|
||||
{
|
||||
"versions": [
|
||||
{
|
||||
"git-tree": "d9ef9fbb509e23fcb49f567f3c383ca3fd37e2c0",
|
||||
"version": "6.3.0",
|
||||
"port-version": 2
|
||||
},
|
||||
{
|
||||
"git-tree": "0634ea068717e4b97b9a9d767d70179b909657b6",
|
||||
"version": "6.3.0",
|
||||
|
Loading…
x
Reference in New Issue
Block a user