From bc9dcddb132fe1f06c19ee8cc1e97d3147c7cbb73bc330947462f2a091c0e178 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Martin=20Li=C5=A1ka?= Date: Wed, 20 Apr 2022 06:53:26 +0000 Subject: [PATCH] Fix dependency. OBS-URL: https://build.opensuse.org/package/show/devel:tools:compiler/mold?expand=0&rev=23 --- mold.spec | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/mold.spec b/mold.spec index 8315e44..9494088 100644 --- a/mold.spec +++ b/mold.spec @@ -32,10 +32,12 @@ BuildRequires: gcc10-c++ # These libraries are not present for openSUSE Leap BuildRequires: gcc-c++ BuildRequires: clang -BuildRequires: gcc-32bit BuildRequires: libdwarf-tools BuildRequires: mimalloc-devel BuildRequires: tbb-devel +%ifarch aarch64 x86_64 +BuildRequires: gcc-32bit +%endif %endif BuildRequires: glibc-devel-static BuildRequires: openssl-devel