paludis-config/bashrc

34 lines
1.0 KiB
Bash
Raw Permalink Normal View History

# shellcheck shell=bash # Krey: Paludis doesn't expect shebang here
# shellcheck disable=SC2034 # Krey: Appears unused is invalid since this is recognized by paludis
COMMON_FLAGS="-O2 -march=sandybridge -pipe"
i686_pc_linux_gnu_CFLAGS="$COMMON_FLAGS"
i686_pc_linux_gnu_CXXFLAGS="$COMMON_FLAGS"
x86_64_pc_linux_gnu_CFLAGS="$COMMON_FLAGS"
x86_64_pc_linux_gnu_CXXFLAGS="$COMMON_FLAGS"
i686_pc_linux_gnu_FFLAGS="$COMMON_FLAGS"
x86_64_PC_linux_gnu_FFLAGS="$COMMON_FLAGS"
i686_pc_linux_gnu_FCLAGS="$COMMON_FLAGS"
x86_64_PC_linux_gnu_FCLAGS="$COMMON_FLAGS"
i686_pc_linux_gnu_FDFLAGS="-Wl,-O2 -Wl, -pthread -lpthread"
x86_64_pc_linux_gnu_FDFLAGS="-Wl,-O2 -Wl, -pthread -lpthread"
CHOST="x86_64-pc-linux-gnu"
CBUILD="x86_64-pc-linux-gnu"
# Stratum
# NOTICE(KREY): This breaks the runtime on sydbox violation
#PALUDIS_TMPDIR="/bedrock/strata/exherbo/var/tmp/paludis/"
# FIXME: Investigate
#RUSTFLAGS="-C target-cpu=native -C opt-level=3"
export PALUDIS_PATCHDIR="$ROOT/etc/paludis/paludis"
2020-10-14 14:09:59 +02:00
#. "${PALUDIS_DIR:-/etc/paludis}/libs/shell/imgconf.bash"