diff options
author | xtkoba <69125751+xtkoba@users.noreply.github.com> | 2022-06-21 04:22:36 +0900 |
---|---|---|
committer | Ionen Wolkens <ionen@gentoo.org> | 2022-06-20 21:56:48 -0400 |
commit | ecbfea558628141d5d543730aeb3f3501ca45025 (patch) | |
tree | 6618d0886c5e695712aab1e638accc7d6920c362 /dev-util/mingw64-runtime | |
parent | kde-apps/kalzium: fix OCaml dep (diff) | |
download | gentoo-ecbfea558628141d5d543730aeb3f3501ca45025.tar.gz gentoo-ecbfea558628141d5d543730aeb3f3501ca45025.tar.bz2 gentoo-ecbfea558628141d5d543730aeb3f3501ca45025.zip |
dev-util/mingw64-runtime: Add 'default-ucrt' USE flag
Signed-off-by: Tee KOBAYASHI <xtkoba@gmail.com>
Closes: https://github.com/gentoo/gentoo/pull/26008
Signed-off-by: Ionen Wolkens <ionen@gentoo.org>
Diffstat (limited to 'dev-util/mingw64-runtime')
-rw-r--r-- | dev-util/mingw64-runtime/metadata.xml | 1 | ||||
-rw-r--r-- | dev-util/mingw64-runtime/mingw64-runtime-10.0.0-r1.ebuild | 3 |
2 files changed, 3 insertions, 1 deletions
diff --git a/dev-util/mingw64-runtime/metadata.xml b/dev-util/mingw64-runtime/metadata.xml index e2958c042969..9614bd8a4369 100644 --- a/dev-util/mingw64-runtime/metadata.xml +++ b/dev-util/mingw64-runtime/metadata.xml @@ -10,6 +10,7 @@ <name>Gentoo Toolchain Project</name> </maintainer> <use> + <flag name="default-ucrt">Use ucrt instead of msvcrt-os as the default crt.</flag> <flag name="idl">Install idl files.</flag> <flag name="libraries">Build extra libraries: mangle, pseh, winpthreads.</flag> <flag name="tools">Build extra tools: gendef, genidl.</flag> diff --git a/dev-util/mingw64-runtime/mingw64-runtime-10.0.0-r1.ebuild b/dev-util/mingw64-runtime/mingw64-runtime-10.0.0-r1.ebuild index fbd35d0570b7..51a541b4ad11 100644 --- a/dev-util/mingw64-runtime/mingw64-runtime-10.0.0-r1.ebuild +++ b/dev-util/mingw64-runtime/mingw64-runtime-10.0.0-r1.ebuild @@ -14,7 +14,7 @@ LICENSE="ZPL BSD BSD-2 ISC LGPL-2+ LGPL-2.1+ MIT public-domain tools? ( GPL-3+ ) SLOT="0" KEYWORDS="~amd64 ~x86" # USE=libraries needs working stage2 compiler: bug #665512 -IUSE="headers-only idl libraries tools" +IUSE="default-ucrt headers-only idl libraries tools" RESTRICT="strip" PATCHES=( @@ -76,6 +76,7 @@ src_configure() { local conf=( --prefix="${prefix}" --libdir="${prefix}"/lib + $(usex default-ucrt "--with-default-msvcrt=ucrt" "") $(use_with !headers-only crt) # By default configure tries to set --sysroot=${prefix}. We disable |