portage-config-clang/env/compiler-clang-lto

11 lines
219 B
Text
Raw Permalink Normal View History

2022-07-08 07:34:54 +00:00
CFLAGS="${CFLAGS} -flto -O2 -march=native -pipe"
CXXFLAGS="${CXXFLAGS} -flto -O2 -march=native -pipe"
LDFLAGS="{LDFLAGS} -Wl,-O2 -Wl,--as-needed"
CC="clang"
CXX="clang++"
AR="llvm-ar"
NM="llvm-nm"
RANLIB="llvm-ranlb"