From b2ba434c6fd1dcb7c52a440745112def1c4f216f Mon Sep 17 00:00:00 2001 From: Hemant Kumar Meena Date: Fri, 12 Apr 2024 08:55:44 +0530 Subject: [PATCH] build using clang --- SPECS/curl.spec | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/SPECS/curl.spec b/SPECS/curl.spec index 692d063..c9a061d 100644 --- a/SPECS/curl.spec +++ b/SPECS/curl.spec @@ -196,7 +196,7 @@ URL: https://curl.haxx.se/ BuildRequires: automake BuildRequires: brotli-devel BuildRequires: coreutils -BuildRequires: gcc +BuildRequires: clang BuildRequires: groff BuildRequires: krb5-devel BuildRequires: libidn2-devel @@ -437,6 +437,8 @@ echo "582" >> tests/data/DISABLED sed -e 's/^35$/35,52/' -i tests/data/test323 %build +export CC=/usr/bin/clang +export CXX=/usr/bin/clang++ mkdir build-{full,minimal} export common_configure_opts=" \ --cache-file=../config.cache \