- Use proper CC/CXX for make_install.

OBS-URL: https://build.opensuse.org/package/show/devel:tools:compiler/mold?expand=0&rev=62
This commit is contained in:
Martin Liška 2022-08-17 08:04:50 +00:00 committed by Git OBS Bridge
parent 82db4db9b4
commit 6167489e38
2 changed files with 9 additions and 0 deletions

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Wed Aug 17 08:04:28 UTC 2022 - Martin Liška <mliska@suse.cz>
- Use proper CC/CXX for make_install.
-------------------------------------------------------------------
Fri Aug 5 16:54:51 UTC 2022 - Martin Liška <mliska@suse.cz>

View File

@ -82,6 +82,10 @@ LIBEXECDIR=%{_libexecdir} \
%{build_args}
%install
%if %{suse_version} < 1550
export CC=gcc-10
export CXX=g++-10
%endif
%make_install -e \
PREFIX=%{_prefix} \
BINDIR=%{_bindir} \