diff --git a/ports/mpir/portfile.cmake b/ports/mpir/portfile.cmake index 3ce9ca3b2f8c20..eec0363f3bac94 100644 --- a/ports/mpir/portfile.cmake +++ b/ports/mpir/portfile.cmake @@ -23,6 +23,10 @@ if(NOT VCPKG_TARGET_IS_WINDOWS) set(OPTIONS --disable-silent-rules --enable-gmpcompat --enable-cxx ${SHARED_STATIC}) + if(VCPKG_TARGET_IS_LINUX AND VCPKG_TARGET_ARCHITECTURE STREQUAL "x86") + vcpkg_list(APPEND OPTIONS "--host=x86-linux") + endif() + string(APPEND VCPKG_C_FLAGS " -Wno-implicit-function-declaration") string(APPEND VCPKG_CXX_FLAGS " -Wno-implicit-function-declaration") diff --git a/ports/mpir/vcpkg.json b/ports/mpir/vcpkg.json index 9df67f4e5c1179..2e1a9985613d24 100644 --- a/ports/mpir/vcpkg.json +++ b/ports/mpir/vcpkg.json @@ -1,7 +1,7 @@ { "name": "mpir", "version-date": "2022-03-02", - "port-version": 3, + "port-version": 4, "description": "Multiple Precision Integers and Rationals", "homepage": "https://github.com/wbhart/mpir", "license": null, diff --git a/versions/baseline.json b/versions/baseline.json index 9449822978fecc..5f8e0734008205 100644 --- a/versions/baseline.json +++ b/versions/baseline.json @@ -6594,7 +6594,7 @@ }, "mpir": { "baseline": "2022-03-02", - "port-version": 3 + "port-version": 4 }, "mpmcqueue": { "baseline": "2021-12-01", diff --git a/versions/m-/mpir.json b/versions/m-/mpir.json index 5b4626a44d3e31..babad687edc4bc 100644 --- a/versions/m-/mpir.json +++ b/versions/m-/mpir.json @@ -1,5 +1,10 @@ { "versions": [ + { + "git-tree": "bc3493fa293493b27f85851899ac40db7b1b7dc2", + "version-date": "2022-03-02", + "port-version": 4 + }, { "git-tree": "66630c57080280e1089146536f7d5d21c7504600", "version-date": "2022-03-02",