aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlfred Persson Forsberg <cat@catcream.org>2024-01-26 00:05:30 +0000
committerSam James <sam@gentoo.org>2024-01-26 09:30:46 +0000
commita5daa83d8dd73d73035403aa57b24f7e057e4e19 (patch)
tree544570b8ce8ebc98078b352e6987738a1a32fae2
parentcrossdev: Make dev-debug a default category for gdb (diff)
downloadcrossdev-a5daa83d8dd73d73035403aa57b24f7e057e4e19.tar.gz
crossdev-a5daa83d8dd73d73035403aa57b24f7e057e4e19.tar.bz2
crossdev-a5daa83d8dd73d73035403aa57b24f7e057e4e19.zip
llvm.conf: set AS="clang -c" instead of llvm-as
Bug: https://bugs.gentoo.org/680652 Signed-off-by: Alfred Persson Forsberg <cat@catcream.org> Closes: https://github.com/gentoo/crossdev/pull/18 Signed-off-by: Sam James <sam@gentoo.org>
-rwxr-xr-xcrossdev2
1 files changed, 1 insertions, 1 deletions
diff --git a/crossdev b/crossdev
index 8788747..7a5ad37 100755
--- a/crossdev
+++ b/crossdev
@@ -1594,7 +1594,7 @@ esac
if [[ "${LLVM}" == "yes" ]] ; then
cat <<-EOF > "${CONFIGROOT}/env/${CROSSDEV_OVERLAY_CATEGORY}/llvm.conf"
AR=llvm-ar
- AS=llvm-as
+ AS="${CTARGET}-clang -c"
CC="${CTARGET}-clang"
CROSS_COMPILE="${CTARGET}-"
CXX="${CTARGET}-clang++"