diff options
Diffstat (limited to 'etc/portage/env')
-rw-r--r-- | etc/portage/env/ccache.conf | 3 | ||||
-rw-r--r-- | etc/portage/env/debug.conf | 3 | ||||
-rw-r--r-- | etc/portage/env/gcc.conf | 5 | ||||
-rw-r--r-- | etc/portage/env/llvm.conf | 7 | ||||
-rw-r--r-- | etc/portage/env/tmp.conf | 1 |
5 files changed, 19 insertions, 0 deletions
diff --git a/etc/portage/env/ccache.conf b/etc/portage/env/ccache.conf new file mode 100644 index 0000000..70e42c0 --- /dev/null +++ b/etc/portage/env/ccache.conf @@ -0,0 +1,3 @@ +CCACHE_DIR="/var/cache/ccache" +CCACHE_SIZE="8G" +FEATURES="${FEATURES} ccache" diff --git a/etc/portage/env/debug.conf b/etc/portage/env/debug.conf new file mode 100644 index 0000000..c8c8d83 --- /dev/null +++ b/etc/portage/env/debug.conf @@ -0,0 +1,3 @@ +CFLAGS="${CFLAGS} -ggdb" +CXXFLAGS="${CXXFLAGS} -ggdb" +FEATURES="${FEATURES} installsources splitdebug -nostrip compressdebug" diff --git a/etc/portage/env/gcc.conf b/etc/portage/env/gcc.conf new file mode 100644 index 0000000..43cc122 --- /dev/null +++ b/etc/portage/env/gcc.conf @@ -0,0 +1,5 @@ +AR="gcc-ar" +CC="gcc" +CXX="g++" +NM="gcc-nm" +RANLIB="gcc-ranlib" diff --git a/etc/portage/env/llvm.conf b/etc/portage/env/llvm.conf new file mode 100644 index 0000000..f2571ff --- /dev/null +++ b/etc/portage/env/llvm.conf @@ -0,0 +1,7 @@ +AR="llvm-ar" +CC="clang" +CXX="clang++" +CXXFLAGS="${CXXFLAGS} -stdlib=libc++" +LDFLAGS="${LDFLAGS} -fuse-ld=lld -rtlib=compiler-rt -unwindlib=libunwind" +NM="llvm-nm" +RANLIB="llvm-ranlib" diff --git a/etc/portage/env/tmp.conf b/etc/portage/env/tmp.conf new file mode 100644 index 0000000..0d8ade7 --- /dev/null +++ b/etc/portage/env/tmp.conf @@ -0,0 +1 @@ +PORTAGE_TMPDIR="/var/tmp" |