回退 'Pull Request !54 : Support ccache compile to fix build error'
This commit is contained in:
parent
40058b2fe3
commit
742a0993e3
@ -13,7 +13,7 @@
|
|||||||
|
|
||||||
Name: ocaml
|
Name: ocaml
|
||||||
Version: 4.14.1
|
Version: 4.14.1
|
||||||
Release: 2
|
Release: 1
|
||||||
Summary: OCaml compiler and programming environment
|
Summary: OCaml compiler and programming environment
|
||||||
License: LGPL-2.1-only
|
License: LGPL-2.1-only
|
||||||
URL: http://www.ocaml.org
|
URL: http://www.ocaml.org
|
||||||
@ -82,9 +82,9 @@ autoconf --force
|
|||||||
|
|
||||||
%build
|
%build
|
||||||
|
|
||||||
export CC='ccache gcc'
|
export CC='gcc'
|
||||||
export AS='as'
|
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="$_"
|
test -x "$(type -P as | xargs readlink -f)" && export AS="$_"
|
||||||
export ASPP="$CC -c"
|
export ASPP="$CC -c"
|
||||||
configure_target=
|
configure_target=
|
||||||
@ -248,9 +248,6 @@ rm -f $RPM_BUILD_ROOT%{_libdir}/ocaml/eventlog_metadata
|
|||||||
%{_mandir}/man3/*
|
%{_mandir}/man3/*
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
* Tue Apr 02 2024 yaoxin <yao_xin001@hoperun.com> - 4.14.1-2
|
|
||||||
- Support ccache compile to fix build error
|
|
||||||
|
|
||||||
* Fri Feb 2 2024 Jingwiw <wangjingwei@iscas.ac.cn> - 4.14.1-1
|
* Fri Feb 2 2024 Jingwiw <wangjingwei@iscas.ac.cn> - 4.14.1-1
|
||||||
- Upgrade version to 4.14.1
|
- Upgrade version to 4.14.1
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user