paludis-config/bashrc
root 5682fe1229 Initial commit
Signed-off-by: root <root@dreamon.rixotstudio.cz>
2020-10-11 16:55:04 +02:00

34 lines
1.0 KiB
Bash

# 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"
. "${PALUDIS_DIR:-/etc/paludis}/libs/shell/sysconf.bash"