diff --git a/ocaml.spec b/ocaml.spec index 45147c149771c428b6e88cb0a6f51fdc81133c8a..64740dab3136c39cd2c0d8ef21118ce6a12467b7 100644 --- a/ocaml.spec +++ b/ocaml.spec @@ -13,7 +13,7 @@ Name: ocaml Version: 4.14.1 -Release: 2 +Release: 3 Summary: OCaml compiler and programming environment License: LGPL-2.1-only URL: http://www.ocaml.org @@ -81,10 +81,9 @@ autoconf --force %endif %build - -export CC='ccache gcc' +export CCACHE_DISABLE=1 +export CC='gcc' export AS='as' -test -x "$(type -P {ccache,gcc} | xargs readlink -f)" && export CC="$_" test -x "$(type -P as | xargs readlink -f)" && export AS="$_" export ASPP="$CC -c" configure_target= @@ -105,6 +104,7 @@ bash -x tools/autogen %make_build opt %make_build opt.opt %endif +unset CCACHE_DISABLE %check cd testsuite @@ -248,6 +248,9 @@ rm -f $RPM_BUILD_ROOT%{_libdir}/ocaml/eventlog_metadata %{_mandir}/man3/* %changelog +* Mon Apr 15 2024 Ge Wang - 4.14.1-3 +- revert ccache gcc flag and disable cache compile + * Tue Apr 02 2024 yaoxin - 4.14.1-2 - Support ccache compile to fix build error