commit: 8f5822dc5a81d773b77bbe2a7b16ceed74177607 Author: Violet Purcell <vimproved <AT> inventati <DOT> org> AuthorDate: Mon Dec 11 01:49:05 2023 +0000 Commit: Sam James <sam <AT> gentoo <DOT> org> CommitDate: Wed May 8 15:06:14 2024 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8f5822dc
sys-libs/compiler-rt: replace "-emain" with "-e main" for LLVM 18 In the latest LLVM 18 snapshot, the joined form of the entrypoint argument (e.g. "-emain") was removed. Use "-e main" instead of "-emain" in nolib_flags. Signed-off-by: Violet Purcell <vimproved <AT> inventati.org> Closes: https://github.com/gentoo/gentoo/pull/34228 Signed-off-by: Sam James <sam <AT> gentoo.org> sys-libs/compiler-rt/compiler-rt-18.1.4.ebuild | 2 +- sys-libs/compiler-rt/compiler-rt-18.1.5.ebuild | 2 +- sys-libs/compiler-rt/compiler-rt-19.0.0.9999.ebuild | 2 +- sys-libs/compiler-rt/compiler-rt-19.0.0_pre20240427.ebuild | 2 +- sys-libs/compiler-rt/compiler-rt-19.0.0_pre20240504.ebuild | 2 +- 5 files changed, 5 insertions(+), 5 deletions(-) diff --git a/sys-libs/compiler-rt/compiler-rt-18.1.4.ebuild b/sys-libs/compiler-rt/compiler-rt-18.1.4.ebuild index e2a452caad61..2a724ca7dd8c 100644 --- a/sys-libs/compiler-rt/compiler-rt-18.1.4.ebuild +++ b/sys-libs/compiler-rt/compiler-rt-18.1.4.ebuild @@ -90,7 +90,7 @@ src_configure() { elif test_compiler "${nolib_flags[@]}" -nostartfiles; then # Avoiding -nostartfiles earlier on for bug #862540, # and set available entry symbol for bug #862798. - nolib_flags+=( -nostartfiles -emain ) + nolib_flags+=( -nostartfiles -e main ) local -x LDFLAGS="${LDFLAGS} ${nolib_flags[*]}" ewarn "${CC} seems to lack runtime, trying with ${nolib_flags[*]}" diff --git a/sys-libs/compiler-rt/compiler-rt-18.1.5.ebuild b/sys-libs/compiler-rt/compiler-rt-18.1.5.ebuild index e2a452caad61..2a724ca7dd8c 100644 --- a/sys-libs/compiler-rt/compiler-rt-18.1.5.ebuild +++ b/sys-libs/compiler-rt/compiler-rt-18.1.5.ebuild @@ -90,7 +90,7 @@ src_configure() { elif test_compiler "${nolib_flags[@]}" -nostartfiles; then # Avoiding -nostartfiles earlier on for bug #862540, # and set available entry symbol for bug #862798. - nolib_flags+=( -nostartfiles -emain ) + nolib_flags+=( -nostartfiles -e main ) local -x LDFLAGS="${LDFLAGS} ${nolib_flags[*]}" ewarn "${CC} seems to lack runtime, trying with ${nolib_flags[*]}" diff --git a/sys-libs/compiler-rt/compiler-rt-19.0.0.9999.ebuild b/sys-libs/compiler-rt/compiler-rt-19.0.0.9999.ebuild index 46de84f27ba9..ec82b06b9c24 100644 --- a/sys-libs/compiler-rt/compiler-rt-19.0.0.9999.ebuild +++ b/sys-libs/compiler-rt/compiler-rt-19.0.0.9999.ebuild @@ -89,7 +89,7 @@ src_configure() { elif test_compiler "${nolib_flags[@]}" -nostartfiles; then # Avoiding -nostartfiles earlier on for bug #862540, # and set available entry symbol for bug #862798. - nolib_flags+=( -nostartfiles -emain ) + nolib_flags+=( -nostartfiles -e main ) local -x LDFLAGS="${LDFLAGS} ${nolib_flags[*]}" ewarn "${CC} seems to lack runtime, trying with ${nolib_flags[*]}" diff --git a/sys-libs/compiler-rt/compiler-rt-19.0.0_pre20240427.ebuild b/sys-libs/compiler-rt/compiler-rt-19.0.0_pre20240427.ebuild index 46de84f27ba9..ec82b06b9c24 100644 --- a/sys-libs/compiler-rt/compiler-rt-19.0.0_pre20240427.ebuild +++ b/sys-libs/compiler-rt/compiler-rt-19.0.0_pre20240427.ebuild @@ -89,7 +89,7 @@ src_configure() { elif test_compiler "${nolib_flags[@]}" -nostartfiles; then # Avoiding -nostartfiles earlier on for bug #862540, # and set available entry symbol for bug #862798. - nolib_flags+=( -nostartfiles -emain ) + nolib_flags+=( -nostartfiles -e main ) local -x LDFLAGS="${LDFLAGS} ${nolib_flags[*]}" ewarn "${CC} seems to lack runtime, trying with ${nolib_flags[*]}" diff --git a/sys-libs/compiler-rt/compiler-rt-19.0.0_pre20240504.ebuild b/sys-libs/compiler-rt/compiler-rt-19.0.0_pre20240504.ebuild index 46de84f27ba9..ec82b06b9c24 100644 --- a/sys-libs/compiler-rt/compiler-rt-19.0.0_pre20240504.ebuild +++ b/sys-libs/compiler-rt/compiler-rt-19.0.0_pre20240504.ebuild @@ -89,7 +89,7 @@ src_configure() { elif test_compiler "${nolib_flags[@]}" -nostartfiles; then # Avoiding -nostartfiles earlier on for bug #862540, # and set available entry symbol for bug #862798. - nolib_flags+=( -nostartfiles -emain ) + nolib_flags+=( -nostartfiles -e main ) local -x LDFLAGS="${LDFLAGS} ${nolib_flags[*]}" ewarn "${CC} seems to lack runtime, trying with ${nolib_flags[*]}"