fix build on SLE/Leap

Rev devel:gcc/5 Md5 e7b6c367b57dbb28a692523f632b49c4 2022-01-14 13:17:05 rguenther None
This commit is contained in:
OBS User rguenther
2022-01-14 13:17:05 +00:00
committed by Git OBS Bridge
parent ff1d2cc371
commit 2dc7100dbb
29 changed files with 148 additions and 0 deletions

View File

@@ -436,6 +436,11 @@ ln -sf /usr/%{_lib} host-tools/%{_lib}
export PATH="`pwd`/host-tools/bin:$PATH"
%endif
%if %{build_d} && %{suse_version} < 1550
# We are using gcc11-d to bootstrap d
export GDC=gdc-11
%endif
# libsanitizer needs <crypt.h> and since the glibc/libxcrypt split
# we don't have that yet in a pure cross environment
%if 0%{?gcc_target_arch:1}