Accepting request 846444 from home:matwey:branches:devel:gcc
Build Freestanding C++ STL for avr. --with-newlib is required to make libstdc++ ./configure script correctly handle avr-libc OBS-URL: https://build.opensuse.org/request/show/846444 OBS-URL: https://build.opensuse.org/package/show/devel:gcc/gcc11?expand=0&rev=153
This commit is contained in:
parent
0553299634
commit
894d5a89a6
@ -500,8 +500,11 @@ amdgcn-amdhsa=%{_prefix}/amdgcn-amdhsa,\
|
||||
%endif
|
||||
%if "%{TARGET_ARCH}" == "avr"
|
||||
--enable-lto \
|
||||
--without-gxx-include-dir \
|
||||
--with-native-system-header-dir=/include \
|
||||
--with-newlib \
|
||||
--disable-__cxa_atexit \
|
||||
--enable-libstdcxx \
|
||||
--disable-hosted-libstdcxx \
|
||||
%endif
|
||||
%endif
|
||||
%if "%{TARGET_ARCH}" == "arm"
|
||||
|
@ -500,8 +500,11 @@ amdgcn-amdhsa=%{_prefix}/amdgcn-amdhsa,\
|
||||
%endif
|
||||
%if "%{TARGET_ARCH}" == "avr"
|
||||
--enable-lto \
|
||||
--without-gxx-include-dir \
|
||||
--with-native-system-header-dir=/include \
|
||||
--with-newlib \
|
||||
--disable-__cxa_atexit \
|
||||
--enable-libstdcxx \
|
||||
--disable-hosted-libstdcxx \
|
||||
%endif
|
||||
%endif
|
||||
%if "%{TARGET_ARCH}" == "arm"
|
||||
|
@ -500,8 +500,11 @@ amdgcn-amdhsa=%{_prefix}/amdgcn-amdhsa,\
|
||||
%endif
|
||||
%if "%{TARGET_ARCH}" == "avr"
|
||||
--enable-lto \
|
||||
--without-gxx-include-dir \
|
||||
--with-native-system-header-dir=/include \
|
||||
--with-newlib \
|
||||
--disable-__cxa_atexit \
|
||||
--enable-libstdcxx \
|
||||
--disable-hosted-libstdcxx \
|
||||
%endif
|
||||
%endif
|
||||
%if "%{TARGET_ARCH}" == "arm"
|
||||
|
@ -501,8 +501,11 @@ amdgcn-amdhsa=%{_prefix}/amdgcn-amdhsa,\
|
||||
%endif
|
||||
%if "%{TARGET_ARCH}" == "avr"
|
||||
--enable-lto \
|
||||
--without-gxx-include-dir \
|
||||
--with-native-system-header-dir=/include \
|
||||
--with-newlib \
|
||||
--disable-__cxa_atexit \
|
||||
--enable-libstdcxx \
|
||||
--disable-hosted-libstdcxx \
|
||||
%endif
|
||||
%endif
|
||||
%if "%{TARGET_ARCH}" == "arm"
|
||||
|
@ -500,8 +500,11 @@ amdgcn-amdhsa=%{_prefix}/amdgcn-amdhsa,\
|
||||
%endif
|
||||
%if "%{TARGET_ARCH}" == "avr"
|
||||
--enable-lto \
|
||||
--without-gxx-include-dir \
|
||||
--with-native-system-header-dir=/include \
|
||||
--with-newlib \
|
||||
--disable-__cxa_atexit \
|
||||
--enable-libstdcxx \
|
||||
--disable-hosted-libstdcxx \
|
||||
%endif
|
||||
%endif
|
||||
%if "%{TARGET_ARCH}" == "arm"
|
||||
|
@ -500,8 +500,11 @@ amdgcn-amdhsa=%{_prefix}/amdgcn-amdhsa,\
|
||||
%endif
|
||||
%if "%{TARGET_ARCH}" == "avr"
|
||||
--enable-lto \
|
||||
--without-gxx-include-dir \
|
||||
--with-native-system-header-dir=/include \
|
||||
--with-newlib \
|
||||
--disable-__cxa_atexit \
|
||||
--enable-libstdcxx \
|
||||
--disable-hosted-libstdcxx \
|
||||
%endif
|
||||
%endif
|
||||
%if "%{TARGET_ARCH}" == "arm"
|
||||
|
@ -500,8 +500,11 @@ amdgcn-amdhsa=%{_prefix}/amdgcn-amdhsa,\
|
||||
%endif
|
||||
%if "%{TARGET_ARCH}" == "avr"
|
||||
--enable-lto \
|
||||
--without-gxx-include-dir \
|
||||
--with-native-system-header-dir=/include \
|
||||
--with-newlib \
|
||||
--disable-__cxa_atexit \
|
||||
--enable-libstdcxx \
|
||||
--disable-hosted-libstdcxx \
|
||||
%endif
|
||||
%endif
|
||||
%if "%{TARGET_ARCH}" == "arm"
|
||||
|
@ -501,8 +501,11 @@ amdgcn-amdhsa=%{_prefix}/amdgcn-amdhsa,\
|
||||
%endif
|
||||
%if "%{TARGET_ARCH}" == "avr"
|
||||
--enable-lto \
|
||||
--without-gxx-include-dir \
|
||||
--with-native-system-header-dir=/include \
|
||||
--with-newlib \
|
||||
--disable-__cxa_atexit \
|
||||
--enable-libstdcxx \
|
||||
--disable-hosted-libstdcxx \
|
||||
%endif
|
||||
%endif
|
||||
%if "%{TARGET_ARCH}" == "arm"
|
||||
|
@ -500,8 +500,11 @@ amdgcn-amdhsa=%{_prefix}/amdgcn-amdhsa,\
|
||||
%endif
|
||||
%if "%{TARGET_ARCH}" == "avr"
|
||||
--enable-lto \
|
||||
--without-gxx-include-dir \
|
||||
--with-native-system-header-dir=/include \
|
||||
--with-newlib \
|
||||
--disable-__cxa_atexit \
|
||||
--enable-libstdcxx \
|
||||
--disable-hosted-libstdcxx \
|
||||
%endif
|
||||
%endif
|
||||
%if "%{TARGET_ARCH}" == "arm"
|
||||
|
@ -500,8 +500,11 @@ amdgcn-amdhsa=%{_prefix}/amdgcn-amdhsa,\
|
||||
%endif
|
||||
%if "%{TARGET_ARCH}" == "avr"
|
||||
--enable-lto \
|
||||
--without-gxx-include-dir \
|
||||
--with-native-system-header-dir=/include \
|
||||
--with-newlib \
|
||||
--disable-__cxa_atexit \
|
||||
--enable-libstdcxx \
|
||||
--disable-hosted-libstdcxx \
|
||||
%endif
|
||||
%endif
|
||||
%if "%{TARGET_ARCH}" == "arm"
|
||||
|
@ -500,8 +500,11 @@ amdgcn-amdhsa=%{_prefix}/amdgcn-amdhsa,\
|
||||
%endif
|
||||
%if "%{TARGET_ARCH}" == "avr"
|
||||
--enable-lto \
|
||||
--without-gxx-include-dir \
|
||||
--with-native-system-header-dir=/include \
|
||||
--with-newlib \
|
||||
--disable-__cxa_atexit \
|
||||
--enable-libstdcxx \
|
||||
--disable-hosted-libstdcxx \
|
||||
%endif
|
||||
%endif
|
||||
%if "%{TARGET_ARCH}" == "arm"
|
||||
|
@ -500,8 +500,11 @@ amdgcn-amdhsa=%{_prefix}/amdgcn-amdhsa,\
|
||||
%endif
|
||||
%if "%{TARGET_ARCH}" == "avr"
|
||||
--enable-lto \
|
||||
--without-gxx-include-dir \
|
||||
--with-native-system-header-dir=/include \
|
||||
--with-newlib \
|
||||
--disable-__cxa_atexit \
|
||||
--enable-libstdcxx \
|
||||
--disable-hosted-libstdcxx \
|
||||
%endif
|
||||
%endif
|
||||
%if "%{TARGET_ARCH}" == "arm"
|
||||
|
@ -500,8 +500,11 @@ amdgcn-amdhsa=%{_prefix}/amdgcn-amdhsa,\
|
||||
%endif
|
||||
%if "%{TARGET_ARCH}" == "avr"
|
||||
--enable-lto \
|
||||
--without-gxx-include-dir \
|
||||
--with-native-system-header-dir=/include \
|
||||
--with-newlib \
|
||||
--disable-__cxa_atexit \
|
||||
--enable-libstdcxx \
|
||||
--disable-hosted-libstdcxx \
|
||||
%endif
|
||||
%endif
|
||||
%if "%{TARGET_ARCH}" == "arm"
|
||||
|
@ -500,8 +500,11 @@ amdgcn-amdhsa=%{_prefix}/amdgcn-amdhsa,\
|
||||
%endif
|
||||
%if "%{TARGET_ARCH}" == "avr"
|
||||
--enable-lto \
|
||||
--without-gxx-include-dir \
|
||||
--with-native-system-header-dir=/include \
|
||||
--with-newlib \
|
||||
--disable-__cxa_atexit \
|
||||
--enable-libstdcxx \
|
||||
--disable-hosted-libstdcxx \
|
||||
%endif
|
||||
%endif
|
||||
%if "%{TARGET_ARCH}" == "arm"
|
||||
|
@ -500,8 +500,11 @@ amdgcn-amdhsa=%{_prefix}/amdgcn-amdhsa,\
|
||||
%endif
|
||||
%if "%{TARGET_ARCH}" == "avr"
|
||||
--enable-lto \
|
||||
--without-gxx-include-dir \
|
||||
--with-native-system-header-dir=/include \
|
||||
--with-newlib \
|
||||
--disable-__cxa_atexit \
|
||||
--enable-libstdcxx \
|
||||
--disable-hosted-libstdcxx \
|
||||
%endif
|
||||
%endif
|
||||
%if "%{TARGET_ARCH}" == "arm"
|
||||
|
@ -500,8 +500,11 @@ amdgcn-amdhsa=%{_prefix}/amdgcn-amdhsa,\
|
||||
%endif
|
||||
%if "%{TARGET_ARCH}" == "avr"
|
||||
--enable-lto \
|
||||
--without-gxx-include-dir \
|
||||
--with-native-system-header-dir=/include \
|
||||
--with-newlib \
|
||||
--disable-__cxa_atexit \
|
||||
--enable-libstdcxx \
|
||||
--disable-hosted-libstdcxx \
|
||||
%endif
|
||||
%endif
|
||||
%if "%{TARGET_ARCH}" == "arm"
|
||||
|
@ -501,8 +501,11 @@ amdgcn-amdhsa=%{_prefix}/amdgcn-amdhsa,\
|
||||
%endif
|
||||
%if "%{TARGET_ARCH}" == "avr"
|
||||
--enable-lto \
|
||||
--without-gxx-include-dir \
|
||||
--with-native-system-header-dir=/include \
|
||||
--with-newlib \
|
||||
--disable-__cxa_atexit \
|
||||
--enable-libstdcxx \
|
||||
--disable-hosted-libstdcxx \
|
||||
%endif
|
||||
%endif
|
||||
%if "%{TARGET_ARCH}" == "arm"
|
||||
|
@ -500,8 +500,11 @@ amdgcn-amdhsa=%{_prefix}/amdgcn-amdhsa,\
|
||||
%endif
|
||||
%if "%{TARGET_ARCH}" == "avr"
|
||||
--enable-lto \
|
||||
--without-gxx-include-dir \
|
||||
--with-native-system-header-dir=/include \
|
||||
--with-newlib \
|
||||
--disable-__cxa_atexit \
|
||||
--enable-libstdcxx \
|
||||
--disable-hosted-libstdcxx \
|
||||
%endif
|
||||
%endif
|
||||
%if "%{TARGET_ARCH}" == "arm"
|
||||
|
@ -500,8 +500,11 @@ amdgcn-amdhsa=%{_prefix}/amdgcn-amdhsa,\
|
||||
%endif
|
||||
%if "%{TARGET_ARCH}" == "avr"
|
||||
--enable-lto \
|
||||
--without-gxx-include-dir \
|
||||
--with-native-system-header-dir=/include \
|
||||
--with-newlib \
|
||||
--disable-__cxa_atexit \
|
||||
--enable-libstdcxx \
|
||||
--disable-hosted-libstdcxx \
|
||||
%endif
|
||||
%endif
|
||||
%if "%{TARGET_ARCH}" == "arm"
|
||||
|
@ -501,8 +501,11 @@ amdgcn-amdhsa=%{_prefix}/amdgcn-amdhsa,\
|
||||
%endif
|
||||
%if "%{TARGET_ARCH}" == "avr"
|
||||
--enable-lto \
|
||||
--without-gxx-include-dir \
|
||||
--with-native-system-header-dir=/include \
|
||||
--with-newlib \
|
||||
--disable-__cxa_atexit \
|
||||
--enable-libstdcxx \
|
||||
--disable-hosted-libstdcxx \
|
||||
%endif
|
||||
%endif
|
||||
%if "%{TARGET_ARCH}" == "arm"
|
||||
|
@ -500,8 +500,11 @@ amdgcn-amdhsa=%{_prefix}/amdgcn-amdhsa,\
|
||||
%endif
|
||||
%if "%{TARGET_ARCH}" == "avr"
|
||||
--enable-lto \
|
||||
--without-gxx-include-dir \
|
||||
--with-native-system-header-dir=/include \
|
||||
--with-newlib \
|
||||
--disable-__cxa_atexit \
|
||||
--enable-libstdcxx \
|
||||
--disable-hosted-libstdcxx \
|
||||
%endif
|
||||
%endif
|
||||
%if "%{TARGET_ARCH}" == "arm"
|
||||
|
@ -500,8 +500,11 @@ amdgcn-amdhsa=%{_prefix}/amdgcn-amdhsa,\
|
||||
%endif
|
||||
%if "%{TARGET_ARCH}" == "avr"
|
||||
--enable-lto \
|
||||
--without-gxx-include-dir \
|
||||
--with-native-system-header-dir=/include \
|
||||
--with-newlib \
|
||||
--disable-__cxa_atexit \
|
||||
--enable-libstdcxx \
|
||||
--disable-hosted-libstdcxx \
|
||||
%endif
|
||||
%endif
|
||||
%if "%{TARGET_ARCH}" == "arm"
|
||||
|
@ -500,8 +500,11 @@ amdgcn-amdhsa=%{_prefix}/amdgcn-amdhsa,\
|
||||
%endif
|
||||
%if "%{TARGET_ARCH}" == "avr"
|
||||
--enable-lto \
|
||||
--without-gxx-include-dir \
|
||||
--with-native-system-header-dir=/include \
|
||||
--with-newlib \
|
||||
--disable-__cxa_atexit \
|
||||
--enable-libstdcxx \
|
||||
--disable-hosted-libstdcxx \
|
||||
%endif
|
||||
%endif
|
||||
%if "%{TARGET_ARCH}" == "arm"
|
||||
|
@ -500,8 +500,11 @@ amdgcn-amdhsa=%{_prefix}/amdgcn-amdhsa,\
|
||||
%endif
|
||||
%if "%{TARGET_ARCH}" == "avr"
|
||||
--enable-lto \
|
||||
--without-gxx-include-dir \
|
||||
--with-native-system-header-dir=/include \
|
||||
--with-newlib \
|
||||
--disable-__cxa_atexit \
|
||||
--enable-libstdcxx \
|
||||
--disable-hosted-libstdcxx \
|
||||
%endif
|
||||
%endif
|
||||
%if "%{TARGET_ARCH}" == "arm"
|
||||
|
@ -500,8 +500,11 @@ amdgcn-amdhsa=%{_prefix}/amdgcn-amdhsa,\
|
||||
%endif
|
||||
%if "%{TARGET_ARCH}" == "avr"
|
||||
--enable-lto \
|
||||
--without-gxx-include-dir \
|
||||
--with-native-system-header-dir=/include \
|
||||
--with-newlib \
|
||||
--disable-__cxa_atexit \
|
||||
--enable-libstdcxx \
|
||||
--disable-hosted-libstdcxx \
|
||||
%endif
|
||||
%endif
|
||||
%if "%{TARGET_ARCH}" == "arm"
|
||||
|
@ -1276,8 +1276,11 @@ amdgcn-amdhsa=%{_prefix}/amdgcn-amdhsa,\
|
||||
%endif
|
||||
%if "%{TARGET_ARCH}" == "avr"
|
||||
--enable-lto \
|
||||
--without-gxx-include-dir \
|
||||
--with-native-system-header-dir=/include \
|
||||
--with-newlib \
|
||||
--disable-__cxa_atexit \
|
||||
--enable-libstdcxx \
|
||||
--disable-hosted-libstdcxx \
|
||||
%endif
|
||||
%endif
|
||||
%if "%{TARGET_ARCH}" == "arm"
|
||||
|
@ -659,8 +659,11 @@ amdgcn-amdhsa=%{_prefix}/amdgcn-amdhsa,\
|
||||
%endif
|
||||
%if "%{TARGET_ARCH}" == "avr"
|
||||
--enable-lto \
|
||||
--without-gxx-include-dir \
|
||||
--with-native-system-header-dir=/include \
|
||||
--with-newlib \
|
||||
--disable-__cxa_atexit \
|
||||
--enable-libstdcxx \
|
||||
--disable-hosted-libstdcxx \
|
||||
%endif
|
||||
%endif
|
||||
%if "%{TARGET_ARCH}" == "arm"
|
||||
|
@ -1998,8 +1998,11 @@ amdgcn-amdhsa=%{_prefix}/amdgcn-amdhsa,\
|
||||
%endif
|
||||
%if "%{TARGET_ARCH}" == "avr"
|
||||
--enable-lto \
|
||||
--without-gxx-include-dir \
|
||||
--with-native-system-header-dir=/include \
|
||||
--with-newlib \
|
||||
--disable-__cxa_atexit \
|
||||
--enable-libstdcxx \
|
||||
--disable-hosted-libstdcxx \
|
||||
%endif
|
||||
%endif
|
||||
%if "%{TARGET_ARCH}" == "arm"
|
||||
|
Loading…
x
Reference in New Issue
Block a user