[Xiaomi Mi Pad 4 Questions & Answers] pacorrop:
I use the following roomservice, alongside the platform manifest for resurrection remix:

<?xml version="1.0" encoding="UTF-8"?>
<manifest>
<remote name="lineageos"
fetch="https://github.com/LineageOS/"/>

<remote name="sdm660"
fetch="https://github.com/xiaomi-sdm660/"/>

<!-- XIAOMI MANIFEST -->
<!-- kernel -->
<project name="ResurrectionRemix-Devices/kernel_xiaomi_sdm660" path="kernel/xiaomi/sdm660" remote="github" revision="Q"/>
<project name="android_kernel_xiaomi_clover" path="kernel/xiaomi/clover" remote="sdm660" revision="kernel.lnx.4.4.r38-rel-wifi"/>

<!-- clover -->
<project name="android_device_xiaomi_clover" path="device/xiaomi/clover" remote="sdm660" revision="lineage-17.1"/>

<!-- Common-->
<project name="ResurrectionRemix-Devices/device_xiaomi_sdm660-common" path="device/xiaomi/sdm660-common" remote="github" revision="Q"/>

<!-- vendor -->
<project name="android_vendor_xiaomi_clover" path="vendor/xiaomi/clover" remote="sdm660" revision="master"/>
<project name="ResurrectionRemix-Devices/vendor_xiaomi_sdm660-common" path="vendor/xiaomi/sdm660-common" remote="github" revision="Q" />

<project name="android_vendor_xiaomi_MiuiCamera" path="vendor/xiaomi/MiuiCamera" remote="sdm660" revision="master" />
</manifest>

I cannot find specific repositories for Resurrection Remix and I have to use the ones provided by the sdm660 repo. Because of that, building clover gives me this error:

make[1]: Entering directory '/out/target/product/clover/obj/KERNEL_OBJ'
//android/buildRom/RR/kernel/xiaomi/sdm660/Makefile:709: Cannot use CONFIG_CC_STACKPROTECTOR_STRONG: -fstack-protector-strong not supported by compiler
make[1]: clang: Command not found
GEN ./Makefile
scripts/kconfig/conf --silentoldconfig Kconfig
//android/buildRom/RR/kernel/xiaomi/sdm660/Makefile:709: Cannot use CONFIG_CC_STACKPROTECTOR_STRONG: -fstack-protector-strong not supported by compiler
make[1]: clang: Command not found
CHK include/config/kernel.release
GEN ./Makefile
CHK include/generated/uapi/linux/version.h
CHK include/generated/utsrelease.h
Using //android/buildRom/RR/kernel/xiaomi/sdm660 as source for kernel
CC scripts/mod/empty.o
CC scripts/mod/devicetable-offsets.s
/bin/sh: clang: command not found
make[3]: *** [//android/buildRom/RR/kernel/xiaomi/sdm660/scripts/Makefile.build:158: scripts/mod/devicetable-offsets.s] Error 127
make[3]: *** Waiting for unfinished jobs....
/bin/sh: clang: command not found
make[3]: *** [//android/buildRom/RR/kernel/xiaomi/sdm660/scripts/Makefile.build:283: scripts/mod/empty.o] Error 127
make[2]: *** [//android/buildRom/RR/kernel/xiaomi/sdm660/scripts/Makefile.build:489: scripts/mod] Error 2
make[2]: *** Waiting for unfinished jobs....
make[1]: *** [//android/buildRom/RR/kernel/xiaomi/sdm660/Makefile:555: scripts] Error 2
make[1]: Leaving directory '/out/target/product/clover/obj/KERNEL_OBJ'
make: *** [Makefile:152: sub-make] Error 2
make: Leaving directory '//android/buildRom/RR/kernel/xiaomi/sdm660'
21:14:32 ninja failed with: exit status 1

However, if I do a mmm kernel/xiaomi/sdm660 or a mmm kernel/xiaomi/clover, it builds everything ok.

Is there anything I can do to build RR on clover?