From cdc360257739653d45da7ec0ee656fe82556b100 Mon Sep 17 00:00:00 2001 From: root Date: Mon, 17 Jul 2023 00:02:11 +0200 Subject: [PATCH] split make.conf into common and local configuration --- .gitignore | 4 +++- make.conf => make.conf/00common | 10 +++------- 2 files changed, 6 insertions(+), 8 deletions(-) rename make.conf => make.conf/00common (92%) diff --git a/.gitignore b/.gitignore index 55e0cc5..ca69b49 100644 --- a/.gitignore +++ b/.gitignore @@ -1 +1,3 @@ -/savedconfig? +/savedconfig/ + +/make.conf/10local diff --git a/make.conf b/make.conf/00common similarity index 92% rename from make.conf rename to make.conf/00common index d56fcb4..3420c3a 100644 --- a/make.conf +++ b/make.conf/00common @@ -1,30 +1,26 @@ 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" + CC="clang" CXX="clang++" AR="llvm-ar" NM="llvm-nm" ranlib="llvm-ranlib" -RUSTFLAGS="-C target-cpu=native -C opt-level=3" - LDFLAGS="-fuse-ld=mold -rtlib=compiler-rt -unwindlib=libunwind -Wl,--as-needed -flto" -MAKEOPTS="-j16" - # EMERGE_DEFAULT_OPTS="--jobs 2" USE="clang lto pulseaudio X -systemd -wayland" CPU_FLAGS_X86="aes avx avx2 f16c fma3 mmx mmxext pclmul popcnt rdrand sha sse sse2 sse3 sse4_1 sse4_2 sse4a ssse3" -INPUT_DEVICES="libinput" -VIDEO_CARDS="nvidia" - L10N="en en_GB de" LC_MESSAGES=C.utf8