diff options
author | Sam James <sam@gentoo.org> | 2022-02-11 19:59:16 +0000 |
---|---|---|
committer | Sam James <sam@gentoo.org> | 2022-02-12 01:04:55 +0000 |
commit | 00d9440c039ac30069e462d75556b5eff7f4592b (patch) | |
tree | 365c3c8aa09bb867e5b45d21ce7646fdea30e194 /sys-devel/clang | |
parent | app-officeext/ooofbtools: Remove old (diff) | |
download | gentoo-00d9440c039ac30069e462d75556b5eff7f4592b.tar.gz gentoo-00d9440c039ac30069e462d75556b5eff7f4592b.tar.bz2 gentoo-00d9440c039ac30069e462d75556b5eff7f4592b.zip |
sys-devel/clang: add USE=+pie (forced-on) for >= 14.0.0_rc1
Forced on, just like GCC. Available in 14.0.0+.
Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'sys-devel/clang')
-rw-r--r-- | sys-devel/clang/clang-14.0.0.9999.ebuild | 3 | ||||
-rw-r--r-- | sys-devel/clang/clang-14.0.0_rc1.ebuild | 3 | ||||
-rw-r--r-- | sys-devel/clang/clang-15.0.0.9999.ebuild | 3 |
3 files changed, 6 insertions, 3 deletions
diff --git a/sys-devel/clang/clang-14.0.0.9999.ebuild b/sys-devel/clang/clang-14.0.0.9999.ebuild index a8bf728e022e..81598e69a80e 100644 --- a/sys-devel/clang/clang-14.0.0.9999.ebuild +++ b/sys-devel/clang/clang-14.0.0.9999.ebuild @@ -17,7 +17,7 @@ LICENSE="Apache-2.0-with-LLVM-exceptions UoI-NCSA MIT" SLOT="$(ver_cut 1)" KEYWORDS="" IUSE="debug default-compiler-rt default-libcxx default-lld - doc llvm-libunwind +static-analyzer test xml" + doc llvm-libunwind +pie +static-analyzer test xml" REQUIRED_USE="${PYTHON_REQUIRED_USE}" RESTRICT="!test? ( test )" @@ -256,6 +256,7 @@ multilib_src_configure() { -DCLANG_DEFAULT_CXX_STDLIB=$(usex default-libcxx libc++ "") -DCLANG_DEFAULT_RTLIB=$(usex default-compiler-rt compiler-rt "") -DCLANG_DEFAULT_LINKER=$(usex default-lld lld "") + -DCLANG_DEFAULT_PIE_ON_LINUX=$(usex pie) -DCLANG_DEFAULT_UNWINDLIB=$(usex default-compiler-rt libunwind "") -DCLANG_ENABLE_ARCMT=$(usex static-analyzer) diff --git a/sys-devel/clang/clang-14.0.0_rc1.ebuild b/sys-devel/clang/clang-14.0.0_rc1.ebuild index a8bf728e022e..81598e69a80e 100644 --- a/sys-devel/clang/clang-14.0.0_rc1.ebuild +++ b/sys-devel/clang/clang-14.0.0_rc1.ebuild @@ -17,7 +17,7 @@ LICENSE="Apache-2.0-with-LLVM-exceptions UoI-NCSA MIT" SLOT="$(ver_cut 1)" KEYWORDS="" IUSE="debug default-compiler-rt default-libcxx default-lld - doc llvm-libunwind +static-analyzer test xml" + doc llvm-libunwind +pie +static-analyzer test xml" REQUIRED_USE="${PYTHON_REQUIRED_USE}" RESTRICT="!test? ( test )" @@ -256,6 +256,7 @@ multilib_src_configure() { -DCLANG_DEFAULT_CXX_STDLIB=$(usex default-libcxx libc++ "") -DCLANG_DEFAULT_RTLIB=$(usex default-compiler-rt compiler-rt "") -DCLANG_DEFAULT_LINKER=$(usex default-lld lld "") + -DCLANG_DEFAULT_PIE_ON_LINUX=$(usex pie) -DCLANG_DEFAULT_UNWINDLIB=$(usex default-compiler-rt libunwind "") -DCLANG_ENABLE_ARCMT=$(usex static-analyzer) diff --git a/sys-devel/clang/clang-15.0.0.9999.ebuild b/sys-devel/clang/clang-15.0.0.9999.ebuild index a8bf728e022e..81598e69a80e 100644 --- a/sys-devel/clang/clang-15.0.0.9999.ebuild +++ b/sys-devel/clang/clang-15.0.0.9999.ebuild @@ -17,7 +17,7 @@ LICENSE="Apache-2.0-with-LLVM-exceptions UoI-NCSA MIT" SLOT="$(ver_cut 1)" KEYWORDS="" IUSE="debug default-compiler-rt default-libcxx default-lld - doc llvm-libunwind +static-analyzer test xml" + doc llvm-libunwind +pie +static-analyzer test xml" REQUIRED_USE="${PYTHON_REQUIRED_USE}" RESTRICT="!test? ( test )" @@ -256,6 +256,7 @@ multilib_src_configure() { -DCLANG_DEFAULT_CXX_STDLIB=$(usex default-libcxx libc++ "") -DCLANG_DEFAULT_RTLIB=$(usex default-compiler-rt compiler-rt "") -DCLANG_DEFAULT_LINKER=$(usex default-lld lld "") + -DCLANG_DEFAULT_PIE_ON_LINUX=$(usex pie) -DCLANG_DEFAULT_UNWINDLIB=$(usex default-compiler-rt libunwind "") -DCLANG_ENABLE_ARCMT=$(usex static-analyzer) |