From b9102ac5718b8d18acb6801a62e1cd4cc7edc0cb Mon Sep 17 00:00:00 2001 From: Jens Reidel Date: Wed, 12 Nov 2025 18:21:38 +0100 Subject: [PATCH] linux-next: Build with clang instead of GCC As far as I can tell, the intent was always to use clang, but building with LLVM=1 CC=gcc will result in building with GCC and LLVM binutils and LLD. Signed-off-by: Jens Reidel Part-of: --- device/testing/linux-next/APKBUILD | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/device/testing/linux-next/APKBUILD b/device/testing/linux-next/APKBUILD index ec63bfd69..d69be736a 100644 --- a/device/testing/linux-next/APKBUILD +++ b/device/testing/linux-next/APKBUILD @@ -3,7 +3,7 @@ pkgname=linux-next pkgver=6.18_git20251112 -pkgrel=0 +pkgrel=1 _nextver="${pkgver#*_git}" pkgdesc="Linux next kernel" arch="armv7 aarch64" @@ -58,14 +58,14 @@ prepare() { # Generate .config unset LDFLAGS - make LLVM=1 ARCH="$_carch" CC="${CC:-gcc}" \ + make ARCH="$_carch" LLVM=1 \ KBUILD_BUILD_VERSION="$((pkgrel + 1 ))-next-$_nextver" \ "$_defconfig" pmos.config devices.config } build() { unset LDFLAGS - make LLVM=1 O="$_outdir" ARCH="$_carch" CC="${CC:-gcc}" \ + make O="$_outdir" ARCH="$_carch" LLVM=1 \ KBUILD_BUILD_VERSION="$((pkgrel + 1 ))-postmarketOS" }