diff options
author | Sam James <sam@gentoo.org> | 2023-07-30 18:07:24 +0100 |
---|---|---|
committer | Sam James <sam@gentoo.org> | 2023-07-30 18:07:24 +0100 |
commit | 80a72bac2350811712c018b68f61a031736c579f (patch) | |
tree | ce5163321a843f92c3efc34a139871aec3949157 /profiles/features | |
parent | dev-libs/gmp: add comment wrt no pgo (diff) | |
download | gentoo-80a72bac2350811712c018b68f61a031736c579f.tar.gz gentoo-80a72bac2350811712c018b68f61a031736c579f.tar.bz2 gentoo-80a72bac2350811712c018b68f61a031736c579f.zip |
profiles/features/musl: enable USE=pic
musl has no support for textrels, so we always need PIC. At some point, I want
to move this into the general profiles by default (especially given the Binutils
work we're doing, see 86ac5c16e3149458710b691e1cad81c50be8d661), but baby steps.
Anyway, this is essential given things will crash on musl otherwise.
Bug: https://bugs.gentoo.org/707660
Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'profiles/features')
-rw-r--r-- | profiles/features/musl/make.defaults | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/profiles/features/musl/make.defaults b/profiles/features/musl/make.defaults index 80a8fdf9240f..4c680a7340f6 100644 --- a/profiles/features/musl/make.defaults +++ b/profiles/features/musl/make.defaults @@ -1,4 +1,4 @@ -# Copyright 1999-2021 Gentoo Authors +# Copyright 1999-2023 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 PORTAGE_LIBC="musl" @@ -6,7 +6,7 @@ ELIBC="musl" FEATURES="sandbox sfperms strict" -USE="nptl unicode -berkdb -gdbm" +USE="nptl pic unicode -berkdb -gdbm" BOOTSTRAP_USE="${BOOTSTRAP_USE} nptl -berkdb -gdbm" # All libraries are in /lib or /usr/lib |