aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlfred Persson Forsberg <cat@catcream.org>2023-08-31 03:26:29 +0200
committerSam James <sam@gentoo.org>2023-08-31 02:32:14 +0100
commitd787403e6b0a7715cc9a90024f7554690dd081bb (patch)
tree9a86f2cf64143e3e5302cdfe635a280872653a06
parentfix x86 in LLVM targets check (diff)
downloadcrossdev-d787403e6b0a7715cc9a90024f7554690dd081bb.tar.gz
crossdev-d787403e6b0a7715cc9a90024f7554690dd081bb.tar.bz2
crossdev-d787403e6b0a7715cc9a90024f7554690dd081bb.zip
LLVM/Clang: abort early if libc is glibc20230831
Signed-off-by: Alfred Persson Forsberg <cat@catcream.org> Closes: https://github.com/gentoo/crossdev/pull/12 Signed-off-by: Sam James <sam@gentoo.org>
-rwxr-xr-xcrossdev2
1 files changed, 2 insertions, 0 deletions
diff --git a/crossdev b/crossdev
index c1b59de..b84b757 100755
--- a/crossdev
+++ b/crossdev
@@ -966,6 +966,8 @@ done
if [[ "${LLVM}" == "yes" ]] ; then
WITH_HEADERS="yes"
CROSSDEV_OVERLAY_CATEGORY_PREFIX="cross_llvm-"
+ # To avoid bug reports
+ [[ "${LPKG}" == "glibc" ]] && die "LLVM/Clang cannot currently compile glibc"
fi
CROSSDEV_OVERLAY_CATEGORY="${CROSSDEV_OVERLAY_CATEGORY_PREFIX}${CTARGET}"