From 6167489e3864b5a8c5a36572c81b60cdc8a604ea87a1a51b738f642c75720542 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Martin=20Li=C5=A1ka?= Date: Wed, 17 Aug 2022 08:04:50 +0000 Subject: [PATCH] - Use proper CC/CXX for make_install. OBS-URL: https://build.opensuse.org/package/show/devel:tools:compiler/mold?expand=0&rev=62 --- mold.changes | 5 +++++ mold.spec | 4 ++++ 2 files changed, 9 insertions(+) diff --git a/mold.changes b/mold.changes index 1cbb7da..e231054 100644 --- a/mold.changes +++ b/mold.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Wed Aug 17 08:04:28 UTC 2022 - Martin Liška + +- Use proper CC/CXX for make_install. + ------------------------------------------------------------------- Fri Aug 5 16:54:51 UTC 2022 - Martin Liška diff --git a/mold.spec b/mold.spec index a94bbf9..97ded5c 100644 --- a/mold.spec +++ b/mold.spec @@ -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} \