File cang.spec.patch of Package gcc11
--- org/cross-arm-none-gcc11.spec 2023-06-22 18:19:49.682233979 +0200
+++ new/cross-arm-none-gcc11.spec 2023-06-22 18:23:50.390513413 +0200
@@ -15,6 +15,8 @@
# Please submit bugfixes or comments via https://bugs.opensuse.org/
#
+# Compatible to the configuration of the corepondig package for arch linux
+%define arch_compat 1
%define pkgname cross-arm-none-gcc11
%define cross_arch arm-none
@@ -46,7 +48,11 @@
%define build_gcn 0
%define build_d 0
+%if %{arch_compat}
+%define enable_plugins 1
+%else
%define enable_plugins 0
+%endif
%define build_jit 0
%define use_lto_bootstrap 0
@@ -681,6 +687,10 @@
%ifarch riscv64
--enable-link-mutex \
%endif
+%if %{arch_compat}
+ --with-gnu-as \
+ --with-gnu-ld \
+%endif
$CONFARGS \
--build=%{GCCDIST} \
--host=%{GCCDIST} || \