fix build on SLE/Leap
OBS-URL: https://build.opensuse.org/package/show/devel:gcc/gcc12?expand=0&rev=5
This commit is contained in:
@@ -436,6 +436,11 @@ ln -sf /usr/%{_lib} host-tools/%{_lib}
|
|||||||
export PATH="`pwd`/host-tools/bin:$PATH"
|
export PATH="`pwd`/host-tools/bin:$PATH"
|
||||||
%endif
|
%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
|
# libsanitizer needs <crypt.h> and since the glibc/libxcrypt split
|
||||||
# we don't have that yet in a pure cross environment
|
# we don't have that yet in a pure cross environment
|
||||||
%if 0%{?gcc_target_arch:1}
|
%if 0%{?gcc_target_arch:1}
|
||||||
|
@@ -436,6 +436,11 @@ ln -sf /usr/%{_lib} host-tools/%{_lib}
|
|||||||
export PATH="`pwd`/host-tools/bin:$PATH"
|
export PATH="`pwd`/host-tools/bin:$PATH"
|
||||||
%endif
|
%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
|
# libsanitizer needs <crypt.h> and since the glibc/libxcrypt split
|
||||||
# we don't have that yet in a pure cross environment
|
# we don't have that yet in a pure cross environment
|
||||||
%if 0%{?gcc_target_arch:1}
|
%if 0%{?gcc_target_arch:1}
|
||||||
|
@@ -436,6 +436,11 @@ ln -sf /usr/%{_lib} host-tools/%{_lib}
|
|||||||
export PATH="`pwd`/host-tools/bin:$PATH"
|
export PATH="`pwd`/host-tools/bin:$PATH"
|
||||||
%endif
|
%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
|
# libsanitizer needs <crypt.h> and since the glibc/libxcrypt split
|
||||||
# we don't have that yet in a pure cross environment
|
# we don't have that yet in a pure cross environment
|
||||||
%if 0%{?gcc_target_arch:1}
|
%if 0%{?gcc_target_arch:1}
|
||||||
|
@@ -436,6 +436,11 @@ ln -sf /usr/%{_lib} host-tools/%{_lib}
|
|||||||
export PATH="`pwd`/host-tools/bin:$PATH"
|
export PATH="`pwd`/host-tools/bin:$PATH"
|
||||||
%endif
|
%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
|
# libsanitizer needs <crypt.h> and since the glibc/libxcrypt split
|
||||||
# we don't have that yet in a pure cross environment
|
# we don't have that yet in a pure cross environment
|
||||||
%if 0%{?gcc_target_arch:1}
|
%if 0%{?gcc_target_arch:1}
|
||||||
|
@@ -437,6 +437,11 @@ ln -sf /usr/%{_lib} host-tools/%{_lib}
|
|||||||
export PATH="`pwd`/host-tools/bin:$PATH"
|
export PATH="`pwd`/host-tools/bin:$PATH"
|
||||||
%endif
|
%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
|
# libsanitizer needs <crypt.h> and since the glibc/libxcrypt split
|
||||||
# we don't have that yet in a pure cross environment
|
# we don't have that yet in a pure cross environment
|
||||||
%if 0%{?gcc_target_arch:1}
|
%if 0%{?gcc_target_arch:1}
|
||||||
|
@@ -436,6 +436,11 @@ ln -sf /usr/%{_lib} host-tools/%{_lib}
|
|||||||
export PATH="`pwd`/host-tools/bin:$PATH"
|
export PATH="`pwd`/host-tools/bin:$PATH"
|
||||||
%endif
|
%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
|
# libsanitizer needs <crypt.h> and since the glibc/libxcrypt split
|
||||||
# we don't have that yet in a pure cross environment
|
# we don't have that yet in a pure cross environment
|
||||||
%if 0%{?gcc_target_arch:1}
|
%if 0%{?gcc_target_arch:1}
|
||||||
|
@@ -436,6 +436,11 @@ ln -sf /usr/%{_lib} host-tools/%{_lib}
|
|||||||
export PATH="`pwd`/host-tools/bin:$PATH"
|
export PATH="`pwd`/host-tools/bin:$PATH"
|
||||||
%endif
|
%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
|
# libsanitizer needs <crypt.h> and since the glibc/libxcrypt split
|
||||||
# we don't have that yet in a pure cross environment
|
# we don't have that yet in a pure cross environment
|
||||||
%if 0%{?gcc_target_arch:1}
|
%if 0%{?gcc_target_arch:1}
|
||||||
|
@@ -436,6 +436,11 @@ ln -sf /usr/%{_lib} host-tools/%{_lib}
|
|||||||
export PATH="`pwd`/host-tools/bin:$PATH"
|
export PATH="`pwd`/host-tools/bin:$PATH"
|
||||||
%endif
|
%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
|
# libsanitizer needs <crypt.h> and since the glibc/libxcrypt split
|
||||||
# we don't have that yet in a pure cross environment
|
# we don't have that yet in a pure cross environment
|
||||||
%if 0%{?gcc_target_arch:1}
|
%if 0%{?gcc_target_arch:1}
|
||||||
|
@@ -437,6 +437,11 @@ ln -sf /usr/%{_lib} host-tools/%{_lib}
|
|||||||
export PATH="`pwd`/host-tools/bin:$PATH"
|
export PATH="`pwd`/host-tools/bin:$PATH"
|
||||||
%endif
|
%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
|
# libsanitizer needs <crypt.h> and since the glibc/libxcrypt split
|
||||||
# we don't have that yet in a pure cross environment
|
# we don't have that yet in a pure cross environment
|
||||||
%if 0%{?gcc_target_arch:1}
|
%if 0%{?gcc_target_arch:1}
|
||||||
|
@@ -436,6 +436,11 @@ ln -sf /usr/%{_lib} host-tools/%{_lib}
|
|||||||
export PATH="`pwd`/host-tools/bin:$PATH"
|
export PATH="`pwd`/host-tools/bin:$PATH"
|
||||||
%endif
|
%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
|
# libsanitizer needs <crypt.h> and since the glibc/libxcrypt split
|
||||||
# we don't have that yet in a pure cross environment
|
# we don't have that yet in a pure cross environment
|
||||||
%if 0%{?gcc_target_arch:1}
|
%if 0%{?gcc_target_arch:1}
|
||||||
|
@@ -436,6 +436,11 @@ ln -sf /usr/%{_lib} host-tools/%{_lib}
|
|||||||
export PATH="`pwd`/host-tools/bin:$PATH"
|
export PATH="`pwd`/host-tools/bin:$PATH"
|
||||||
%endif
|
%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
|
# libsanitizer needs <crypt.h> and since the glibc/libxcrypt split
|
||||||
# we don't have that yet in a pure cross environment
|
# we don't have that yet in a pure cross environment
|
||||||
%if 0%{?gcc_target_arch:1}
|
%if 0%{?gcc_target_arch:1}
|
||||||
|
@@ -436,6 +436,11 @@ ln -sf /usr/%{_lib} host-tools/%{_lib}
|
|||||||
export PATH="`pwd`/host-tools/bin:$PATH"
|
export PATH="`pwd`/host-tools/bin:$PATH"
|
||||||
%endif
|
%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
|
# libsanitizer needs <crypt.h> and since the glibc/libxcrypt split
|
||||||
# we don't have that yet in a pure cross environment
|
# we don't have that yet in a pure cross environment
|
||||||
%if 0%{?gcc_target_arch:1}
|
%if 0%{?gcc_target_arch:1}
|
||||||
|
@@ -436,6 +436,11 @@ ln -sf /usr/%{_lib} host-tools/%{_lib}
|
|||||||
export PATH="`pwd`/host-tools/bin:$PATH"
|
export PATH="`pwd`/host-tools/bin:$PATH"
|
||||||
%endif
|
%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
|
# libsanitizer needs <crypt.h> and since the glibc/libxcrypt split
|
||||||
# we don't have that yet in a pure cross environment
|
# we don't have that yet in a pure cross environment
|
||||||
%if 0%{?gcc_target_arch:1}
|
%if 0%{?gcc_target_arch:1}
|
||||||
|
@@ -436,6 +436,11 @@ ln -sf /usr/%{_lib} host-tools/%{_lib}
|
|||||||
export PATH="`pwd`/host-tools/bin:$PATH"
|
export PATH="`pwd`/host-tools/bin:$PATH"
|
||||||
%endif
|
%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
|
# libsanitizer needs <crypt.h> and since the glibc/libxcrypt split
|
||||||
# we don't have that yet in a pure cross environment
|
# we don't have that yet in a pure cross environment
|
||||||
%if 0%{?gcc_target_arch:1}
|
%if 0%{?gcc_target_arch:1}
|
||||||
|
@@ -436,6 +436,11 @@ ln -sf /usr/%{_lib} host-tools/%{_lib}
|
|||||||
export PATH="`pwd`/host-tools/bin:$PATH"
|
export PATH="`pwd`/host-tools/bin:$PATH"
|
||||||
%endif
|
%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
|
# libsanitizer needs <crypt.h> and since the glibc/libxcrypt split
|
||||||
# we don't have that yet in a pure cross environment
|
# we don't have that yet in a pure cross environment
|
||||||
%if 0%{?gcc_target_arch:1}
|
%if 0%{?gcc_target_arch:1}
|
||||||
|
@@ -436,6 +436,11 @@ ln -sf /usr/%{_lib} host-tools/%{_lib}
|
|||||||
export PATH="`pwd`/host-tools/bin:$PATH"
|
export PATH="`pwd`/host-tools/bin:$PATH"
|
||||||
%endif
|
%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
|
# libsanitizer needs <crypt.h> and since the glibc/libxcrypt split
|
||||||
# we don't have that yet in a pure cross environment
|
# we don't have that yet in a pure cross environment
|
||||||
%if 0%{?gcc_target_arch:1}
|
%if 0%{?gcc_target_arch:1}
|
||||||
|
@@ -437,6 +437,11 @@ ln -sf /usr/%{_lib} host-tools/%{_lib}
|
|||||||
export PATH="`pwd`/host-tools/bin:$PATH"
|
export PATH="`pwd`/host-tools/bin:$PATH"
|
||||||
%endif
|
%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
|
# libsanitizer needs <crypt.h> and since the glibc/libxcrypt split
|
||||||
# we don't have that yet in a pure cross environment
|
# we don't have that yet in a pure cross environment
|
||||||
%if 0%{?gcc_target_arch:1}
|
%if 0%{?gcc_target_arch:1}
|
||||||
|
@@ -436,6 +436,11 @@ ln -sf /usr/%{_lib} host-tools/%{_lib}
|
|||||||
export PATH="`pwd`/host-tools/bin:$PATH"
|
export PATH="`pwd`/host-tools/bin:$PATH"
|
||||||
%endif
|
%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
|
# libsanitizer needs <crypt.h> and since the glibc/libxcrypt split
|
||||||
# we don't have that yet in a pure cross environment
|
# we don't have that yet in a pure cross environment
|
||||||
%if 0%{?gcc_target_arch:1}
|
%if 0%{?gcc_target_arch:1}
|
||||||
|
@@ -436,6 +436,11 @@ ln -sf /usr/%{_lib} host-tools/%{_lib}
|
|||||||
export PATH="`pwd`/host-tools/bin:$PATH"
|
export PATH="`pwd`/host-tools/bin:$PATH"
|
||||||
%endif
|
%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
|
# libsanitizer needs <crypt.h> and since the glibc/libxcrypt split
|
||||||
# we don't have that yet in a pure cross environment
|
# we don't have that yet in a pure cross environment
|
||||||
%if 0%{?gcc_target_arch:1}
|
%if 0%{?gcc_target_arch:1}
|
||||||
|
@@ -436,6 +436,11 @@ ln -sf /usr/%{_lib} host-tools/%{_lib}
|
|||||||
export PATH="`pwd`/host-tools/bin:$PATH"
|
export PATH="`pwd`/host-tools/bin:$PATH"
|
||||||
%endif
|
%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
|
# libsanitizer needs <crypt.h> and since the glibc/libxcrypt split
|
||||||
# we don't have that yet in a pure cross environment
|
# we don't have that yet in a pure cross environment
|
||||||
%if 0%{?gcc_target_arch:1}
|
%if 0%{?gcc_target_arch:1}
|
||||||
|
@@ -437,6 +437,11 @@ ln -sf /usr/%{_lib} host-tools/%{_lib}
|
|||||||
export PATH="`pwd`/host-tools/bin:$PATH"
|
export PATH="`pwd`/host-tools/bin:$PATH"
|
||||||
%endif
|
%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
|
# libsanitizer needs <crypt.h> and since the glibc/libxcrypt split
|
||||||
# we don't have that yet in a pure cross environment
|
# we don't have that yet in a pure cross environment
|
||||||
%if 0%{?gcc_target_arch:1}
|
%if 0%{?gcc_target_arch:1}
|
||||||
|
@@ -436,6 +436,11 @@ ln -sf /usr/%{_lib} host-tools/%{_lib}
|
|||||||
export PATH="`pwd`/host-tools/bin:$PATH"
|
export PATH="`pwd`/host-tools/bin:$PATH"
|
||||||
%endif
|
%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
|
# libsanitizer needs <crypt.h> and since the glibc/libxcrypt split
|
||||||
# we don't have that yet in a pure cross environment
|
# we don't have that yet in a pure cross environment
|
||||||
%if 0%{?gcc_target_arch:1}
|
%if 0%{?gcc_target_arch:1}
|
||||||
|
@@ -436,6 +436,11 @@ ln -sf /usr/%{_lib} host-tools/%{_lib}
|
|||||||
export PATH="`pwd`/host-tools/bin:$PATH"
|
export PATH="`pwd`/host-tools/bin:$PATH"
|
||||||
%endif
|
%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
|
# libsanitizer needs <crypt.h> and since the glibc/libxcrypt split
|
||||||
# we don't have that yet in a pure cross environment
|
# we don't have that yet in a pure cross environment
|
||||||
%if 0%{?gcc_target_arch:1}
|
%if 0%{?gcc_target_arch:1}
|
||||||
|
@@ -436,6 +436,11 @@ ln -sf /usr/%{_lib} host-tools/%{_lib}
|
|||||||
export PATH="`pwd`/host-tools/bin:$PATH"
|
export PATH="`pwd`/host-tools/bin:$PATH"
|
||||||
%endif
|
%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
|
# libsanitizer needs <crypt.h> and since the glibc/libxcrypt split
|
||||||
# we don't have that yet in a pure cross environment
|
# we don't have that yet in a pure cross environment
|
||||||
%if 0%{?gcc_target_arch:1}
|
%if 0%{?gcc_target_arch:1}
|
||||||
|
@@ -436,6 +436,11 @@ ln -sf /usr/%{_lib} host-tools/%{_lib}
|
|||||||
export PATH="`pwd`/host-tools/bin:$PATH"
|
export PATH="`pwd`/host-tools/bin:$PATH"
|
||||||
%endif
|
%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
|
# libsanitizer needs <crypt.h> and since the glibc/libxcrypt split
|
||||||
# we don't have that yet in a pure cross environment
|
# we don't have that yet in a pure cross environment
|
||||||
%if 0%{?gcc_target_arch:1}
|
%if 0%{?gcc_target_arch:1}
|
||||||
|
@@ -436,6 +436,11 @@ ln -sf /usr/%{_lib} host-tools/%{_lib}
|
|||||||
export PATH="`pwd`/host-tools/bin:$PATH"
|
export PATH="`pwd`/host-tools/bin:$PATH"
|
||||||
%endif
|
%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
|
# libsanitizer needs <crypt.h> and since the glibc/libxcrypt split
|
||||||
# we don't have that yet in a pure cross environment
|
# we don't have that yet in a pure cross environment
|
||||||
%if 0%{?gcc_target_arch:1}
|
%if 0%{?gcc_target_arch:1}
|
||||||
|
@@ -245,6 +245,7 @@ BuildRequires: gcc-ada
|
|||||||
%if %{build_d}
|
%if %{build_d}
|
||||||
%if %{suse_version} < 1550
|
%if %{suse_version} < 1550
|
||||||
BuildRequires: gcc11-d
|
BuildRequires: gcc11-d
|
||||||
|
BuildRequires: libstdc++6-devel-gcc11
|
||||||
%else
|
%else
|
||||||
BuildRequires: gcc-d
|
BuildRequires: gcc-d
|
||||||
%endif
|
%endif
|
||||||
@@ -1287,6 +1288,11 @@ ln -sf /usr/%{_lib} host-tools/%{_lib}
|
|||||||
export PATH="`pwd`/host-tools/bin:$PATH"
|
export PATH="`pwd`/host-tools/bin:$PATH"
|
||||||
%endif
|
%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
|
# libsanitizer needs <crypt.h> and since the glibc/libxcrypt split
|
||||||
# we don't have that yet in a pure cross environment
|
# we don't have that yet in a pure cross environment
|
||||||
%if 0%{?gcc_target_arch:1}
|
%if 0%{?gcc_target_arch:1}
|
||||||
|
@@ -260,6 +260,7 @@ BuildRequires: gcc-ada
|
|||||||
%if %{build_d}
|
%if %{build_d}
|
||||||
%if %{suse_version} < 1550
|
%if %{suse_version} < 1550
|
||||||
BuildRequires: gcc11-d
|
BuildRequires: gcc11-d
|
||||||
|
BuildRequires: libstdc++6-devel-gcc11
|
||||||
%else
|
%else
|
||||||
BuildRequires: gcc-d
|
BuildRequires: gcc-d
|
||||||
%endif
|
%endif
|
||||||
@@ -626,6 +627,11 @@ ln -sf /usr/%{_lib} host-tools/%{_lib}
|
|||||||
export PATH="`pwd`/host-tools/bin:$PATH"
|
export PATH="`pwd`/host-tools/bin:$PATH"
|
||||||
%endif
|
%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
|
# libsanitizer needs <crypt.h> and since the glibc/libxcrypt split
|
||||||
# we don't have that yet in a pure cross environment
|
# we don't have that yet in a pure cross environment
|
||||||
%if 0%{?gcc_target_arch:1}
|
%if 0%{?gcc_target_arch:1}
|
||||||
|
@@ -242,6 +242,7 @@ BuildRequires: gcc-ada
|
|||||||
%if %{build_d}
|
%if %{build_d}
|
||||||
%if %{suse_version} < 1550
|
%if %{suse_version} < 1550
|
||||||
BuildRequires: gcc11-d
|
BuildRequires: gcc11-d
|
||||||
|
BuildRequires: libstdc++6-devel-gcc11
|
||||||
%else
|
%else
|
||||||
BuildRequires: gcc-d
|
BuildRequires: gcc-d
|
||||||
%endif
|
%endif
|
||||||
@@ -2046,6 +2047,11 @@ ln -sf /usr/%{_lib} host-tools/%{_lib}
|
|||||||
export PATH="`pwd`/host-tools/bin:$PATH"
|
export PATH="`pwd`/host-tools/bin:$PATH"
|
||||||
%endif
|
%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
|
# libsanitizer needs <crypt.h> and since the glibc/libxcrypt split
|
||||||
# we don't have that yet in a pure cross environment
|
# we don't have that yet in a pure cross environment
|
||||||
%if 0%{?gcc_target_arch:1}
|
%if 0%{?gcc_target_arch:1}
|
||||||
|
Reference in New Issue
Block a user