From 34f27e3992aebed024e2ecda436a7bcc2e50b9ad Mon Sep 17 00:00:00 2001 From: tigro Date: Thu, 17 Oct 2024 16:20:03 +0300 Subject: [PATCH] Added BR: clang/llvm --- SPECS/gcc.spec | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/SPECS/gcc.spec b/SPECS/gcc.spec index 6404a41..0d6af00 100644 --- a/SPECS/gcc.spec +++ b/SPECS/gcc.spec @@ -170,6 +170,11 @@ URL: http://gcc.gnu.org # Need binutils which support -plugin # Need binutils which support .loc view >= 2.30 # Need binutils which support --generate-missing-build-notes=yes >= 2.31 + +# GCC requires clang/llvm? Ok. +Buildrequires: /usr/bin/clang++ +Buildrequires: /usr/bin/llvm-config + %if 0%{?fedora} >= 29 || 0%{?rhel} > 7 BuildRequires: binutils >= 2.31 %else