Enable multilib?

This commit is contained in:
Salt 2020-12-02 19:31:02 -06:00
parent 66bcb35ed7
commit 442edbb3ad

View File

@ -126,6 +126,8 @@ build-gentoo() {
# These is a very generic make.conf to get the system up and running # These is a very generic make.conf to get the system up and running
# We use march of x86-64 to ensure compatibility if we're bootstrapping on a host other than the target # We use march of x86-64 to ensure compatibility if we're bootstrapping on a host other than the target
cat <<-EOF > "$_optdest/etc/portage/make.conf" cat <<-EOF > "$_optdest/etc/portage/make.conf"
# ABI_X86 is used to control multilib support
ABI_X86="64 32"
COMMON_FLAGS="-march=x86-64 -mtune=generic -O2 -pipe" COMMON_FLAGS="-march=x86-64 -mtune=generic -O2 -pipe"
CFLAGS="\${COMMON_FLAGS}" CFLAGS="\${COMMON_FLAGS}"
CXXFLAGS="\${COMMON_FLAGS}" CXXFLAGS="\${COMMON_FLAGS}"