From f06093854af659fe653fb2516341abcfc89859e8 Mon Sep 17 00:00:00 2001 From: Krzesimir Nowak Date: Wed, 13 Sep 2023 10:18:42 +0200 Subject: [PATCH] overlay profiles: Enable cpudetection USE flag in dev-libs/gmp during bootstrap It normally is enabled by default, but during bootstrap USE flags that are not force-enabled are disabled. And we need to it avoid bindist issues that pop up during stage 1 of the SDK build. --- .../coreos-overlay/profiles/coreos/base/package.use.force | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/sdk_container/src/third_party/coreos-overlay/profiles/coreos/base/package.use.force b/sdk_container/src/third_party/coreos-overlay/profiles/coreos/base/package.use.force index 6b27ec890a..69316da05b 100644 --- a/sdk_container/src/third_party/coreos-overlay/profiles/coreos/base/package.use.force +++ b/sdk_container/src/third_party/coreos-overlay/profiles/coreos/base/package.use.force @@ -22,3 +22,8 @@ sys-apps/portage -xattr # Force openssl provider for net-misc/curl net-misc/curl ssl openssl curl_ssl_openssl + +# Force cpudetection for dev-libs/gmp, so it's also picked up during +# bootstrap. That way, we won't be hitting bindist restrictions that +# cause the build in stage1 to fail. +dev-libs/gmp cpudetection