From 742a0993e3dfecbd5d6e796b7f72c8267f05d39f Mon Sep 17 00:00:00 2001 From: caodongxia <315816521@qq.com> Date: Tue, 16 Apr 2024 06:15:08 +0000 Subject: [PATCH] =?UTF-8?q?=E5=9B=9E=E9=80=80=20'Pull=20Request=20!54=20:?= =?UTF-8?q?=20Support=20ccache=20compile=20to=20fix=20build=20error'?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- ocaml.spec | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) diff --git a/ocaml.spec b/ocaml.spec index 45147c1..2a9252f 100644 --- a/ocaml.spec +++ b/ocaml.spec @@ -13,7 +13,7 @@ Name: ocaml Version: 4.14.1 -Release: 2 +Release: 1 Summary: OCaml compiler and programming environment License: LGPL-2.1-only URL: http://www.ocaml.org @@ -82,9 +82,9 @@ autoconf --force %build -export CC='ccache gcc' +export CC='gcc' export AS='as' -test -x "$(type -P {ccache,gcc} | xargs readlink -f)" && export CC="$_" +test -x "$(type -P gcc | xargs readlink -f)" && export CC="$_" test -x "$(type -P as | xargs readlink -f)" && export AS="$_" export ASPP="$CC -c" configure_target= @@ -248,9 +248,6 @@ rm -f $RPM_BUILD_ROOT%{_libdir}/ocaml/eventlog_metadata %{_mandir}/man3/* %changelog -* Tue Apr 02 2024 yaoxin - 4.14.1-2 -- Support ccache compile to fix build error - * Fri Feb 2 2024 Jingwiw - 4.14.1-1 - Upgrade version to 4.14.1 -- Gitee