build using clang

This commit is contained in:
Hemant Kumar Meena 2024-04-12 08:55:44 +05:30
parent 5093510410
commit b2ba434c6f

View File

@ -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 \