mirror of
https://github.com/MorizzG/portage-conf.git
synced 2025-12-06 01:12:42 +00:00
35 lines
908 B
Text
35 lines
908 B
Text
COMMON_FLAGS="-O2 -pipe -march=native -flto"
|
|
CFLAGS="${COMMON_FLAGS}"
|
|
CXXFLAGS="${COMMON_FLAGS}"
|
|
|
|
FCFLAGS="${COMMON_FLAGS}"
|
|
FFLAGS="${COMMON_FLAGS}"
|
|
|
|
RUSTFLAGS="-C target-cpu=native -C opt-level=3 -C linker=clang -C link-arg=-fuse-ld=mold"
|
|
|
|
# don't strip comment section of binaries
|
|
# assumes STRIP will be gnu-strip
|
|
PORTAGE_STRIP_FLAGS="--strip-unneeded -N __gentoo_check_ldflags__ -R .GCC.command.line -R .note.gnu.gold-version"
|
|
|
|
CC="clang"
|
|
CXX="clang++"
|
|
AR="llvm-ar"
|
|
NM="llvm-nm"
|
|
RANLIB="llvm-ranlib"
|
|
|
|
LDFLAGS="-fuse-ld=mold -rtlib=compiler-rt -unwindlib=libunwind -Wl,--as-needed -flto"
|
|
|
|
# EMERGE_DEFAULT_OPTS="--jobs 2"
|
|
|
|
USE="clang dist-kernel lto pulseaudio X -systemd -wayland"
|
|
|
|
L10N="en en-GB de"
|
|
|
|
LC_MESSAGES=C.utf8
|
|
|
|
GENTOO_MIRRORS="\
|
|
rsync://ftp.fau.de/gentoo \
|
|
rsync://ftp.halifax.rwth-aachen.de/gentoo/ \
|
|
https://ftp.fau.de/gentoo \
|
|
https://ftp.halifax.rwth-aachen.de/gentoo/ \
|
|
"
|