From 4f987de2f80245ec3ae517888124b318d793d2bb Mon Sep 17 00:00:00 2001 From: hgy59 Date: Tue, 19 Sep 2023 18:53:17 +0200 Subject: [PATCH] synocli-devel: avoid llvm for DSM 5.2 (#5896) --- spk/synocli-devel/Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/spk/synocli-devel/Makefile b/spk/synocli-devel/Makefile index ed92beee20b..7ec37c8947d 100644 --- a/spk/synocli-devel/Makefile +++ b/spk/synocli-devel/Makefile @@ -18,7 +18,7 @@ OPTIONAL_DEPENDS = cross/llvm include ../../mk/spksrc.common.mk -ifneq ($(findstring $(ARCH),$(ARMv5_ARCHS) $(OLD_PPC_ARCHS)),$(ARCH)) +ifneq ($(call version_lt, $(TC_GCC), 4.8.1),1) DEPENDS += cross/llvm endif @@ -104,7 +104,7 @@ endif ## ## LLVM ## -ifneq ($(findstring $(ARCH),$(ARMv5_ARCHS) $(OLD_PPC_ARCHS)),$(ARCH)) +ifneq ($(call version_lt, $(TC_GCC), 4.8.1),1) ifeq ($(call version_ge, $(TC_GCC), 5.1),1) OPTIONAL_DESC += ", LLVM 16.0.6" SPK_COMMANDS += bin/clang-16