build using clang
This commit is contained in:
parent
412884a5dd
commit
15ba879764
@ -101,7 +101,7 @@ URL: https://curl.se/
|
|||||||
BuildRequires: automake
|
BuildRequires: automake
|
||||||
BuildRequires: brotli-devel
|
BuildRequires: brotli-devel
|
||||||
BuildRequires: coreutils
|
BuildRequires: coreutils
|
||||||
BuildRequires: gcc
|
BuildRequires: clang
|
||||||
BuildRequires: groff
|
BuildRequires: groff
|
||||||
BuildRequires: krb5-devel
|
BuildRequires: krb5-devel
|
||||||
BuildRequires: libidn2-devel
|
BuildRequires: libidn2-devel
|
||||||
@ -335,6 +335,8 @@ sed -e 's|^35$|35,52|' -i tests/data/test323
|
|||||||
autoreconf -fiv
|
autoreconf -fiv
|
||||||
|
|
||||||
%build
|
%build
|
||||||
|
export CC=/usr/bin/clang
|
||||||
|
export CXX=/usr/bin/clang++
|
||||||
mkdir build-{full,minimal}
|
mkdir build-{full,minimal}
|
||||||
export common_configure_opts=" \
|
export common_configure_opts=" \
|
||||||
--cache-file=../config.cache \
|
--cache-file=../config.cache \
|
||||||
|
Loading…
Reference in New Issue
Block a user