Inital Commit - on Clang+LTO
This commit is contained in:
35
make.conf
Executable file
35
make.conf
Executable file
@@ -0,0 +1,35 @@
|
||||
# These settings were set by the catalyst build script that automatically
|
||||
# built this stage.
|
||||
# Please consult /usr/share/portage/config/make.conf.example for a more
|
||||
# detailed example.
|
||||
#use CLANG!
|
||||
CC="clang"
|
||||
CXX="clang++"
|
||||
CMAKE_MAKEFILE_GENERATOR=ninja #emake
|
||||
COMMON_FLAGS="-O2 -pipe -march=native"
|
||||
CFLAGS="${COMMON_FLAGS} -flto=thin"
|
||||
CXXFLAGS="${COMMON_FLAGS} -flto=thin"
|
||||
LDFLAGS="-Wl,-O2 -Wl,--as-needed -fuse-ld=lld -rtlib=compiler-rt"# -unwindlib=libunwind"
|
||||
FCFLAGS="${COMMON_FLAGS}"
|
||||
FFLAGS="${COMMON_FLAGS}"
|
||||
AR="llvm-ar"
|
||||
NM="llvm-nm"
|
||||
RANLIB="llvm-ranlib"
|
||||
CPU_FLAGS_X86="aes avx avx2 f16c fma3 mmx mmxext pclmul popcnt rdrand sha sse sse2 sse3 sse4_1 sse4_2 sse4a ssse3"
|
||||
|
||||
# NOTE: This stage was built with the bindist Use flag enabled
|
||||
PORTDIR="/var/db/repos/gentoo"
|
||||
DISTDIR="/var/cache/distfiles"
|
||||
PKGDIR="/var/cache/binpkgs"
|
||||
|
||||
# This sets the language of build output to English.
|
||||
# Please keep this setting intact when reporting bugs.
|
||||
LC_MESSAGES=C
|
||||
GENTOO_MIRRORS="http://mirror.isoc.org.il/pub/gentoo/"
|
||||
MAKEOPTS="-j17"
|
||||
USE="-systemd -samba apparmor gphoto2 xwayland wayland pulseaudio clang"
|
||||
FEATURES="ccache"
|
||||
CCAHCE_DIR="/var/tmp/ccahce"
|
||||
GRUB_PLATFORMS="efi-64"
|
||||
ACCEPT_KEYWORDS="~amd64"
|
||||
ACCEPT_LICENSE="*"
|
||||
Reference in New Issue
Block a user