From 2b2507b6909d9a42e9f3f19d3c8c78d8f4f71169 Mon Sep 17 00:00:00 2001 From: xinghe Date: Fri, 26 May 2023 02:18:54 +0000 Subject: [PATCH] support llvm compiler --- ftp.spec | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/ftp.spec b/ftp.spec index 0c71259..08378ae 100644 --- a/ftp.spec +++ b/ftp.spec @@ -1,6 +1,6 @@ Name: ftp Version: 0.17 -Release: 81 +Release: 82 Summary: The standard UNIX FTP (File Transfer Protocol) client License: BSD with advertising URL: ftp://ftp.linux.org.uk/pub/linux/Networking/netkit @@ -97,7 +97,7 @@ Man pages and other related documents. %autosetup -n netkit-%{name}-%{version} -p1 %build -sh configure --with-c-compiler=gcc --enable-ipv6 +sh configure --with-c-compiler=%{__cc} --enable-ipv6 perl -pi -e ' s,^CC=.*$,CC=cc,; s,-O2,\$(RPM_OPT_FLAGS) -D_GNU_SOURCE -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64,; @@ -124,6 +124,12 @@ install -d ${RPM_BUILD_ROOT}%{_mandir}/man5 %{_mandir}/man5/netrc.* %changelog +* Fri May 26 2023 xinghe - 0.17-82 +- Type:bugfix +- ID:NA +- SUG:NA +- DESC:support llvm compiler + * Mon Nov 09 2020 quanhongfei - 0.17-81 - Type:requirement - ID:NA -- Gitee