- Handle new debug sources filelist variant debugsourcefiles.list.
- Prune libstdc++ includes for crosses. OBS-URL: https://build.opensuse.org/package/show/devel:gcc/gcc7?expand=0&rev=102
This commit is contained in:
parent
20dea145bb
commit
10eaf57b6c
@ -1,3 +1,9 @@
|
||||
-------------------------------------------------------------------
|
||||
Mon Jan 15 12:24:39 UTC 2018 - rguenther@suse.com
|
||||
|
||||
- Handle new debug sources filelist variant debugsourcefiles.list.
|
||||
- Prune libstdc++ includes for crosses.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Jan 10 08:01:42 UTC 2018 - rguenther@suse.com
|
||||
|
||||
|
@ -599,12 +599,22 @@ export NO_BRP_STRIP_DEBUG=true
|
||||
export NO_DEBUGINFO_STRIP_DEBUG=true
|
||||
%define __debug_install_post %{nil}
|
||||
: >../debugfiles.list
|
||||
: >../debugsourcefiles.list
|
||||
: >../debugsources.list
|
||||
# We want shared libraries to reside in the sysroot but the .so symlinks
|
||||
# on the host. Once we have a cross target that has shared libs we need
|
||||
# to manually fix up things here like we do for non-cross compilers
|
||||
mkdir -p $RPM_BUILD_ROOT/%{?sysroot:%sysroot}
|
||||
make DESTDIR=$RPM_BUILD_ROOT install-target
|
||||
%if %{build_cp}
|
||||
# So we installed libstdc++ headers into %prefix where they conflict
|
||||
# with other host compilers. Rip out the non-target specific parts
|
||||
# again.
|
||||
find $RPM_BUILD_ROOT/%_prefix/include/c++/%{gcc_dir_version} -mindepth 1 -maxdepth 1 -type d -a -not -name %{gcc_target_arch} | xargs rm -r
|
||||
find $RPM_BUILD_ROOT/%_prefix/include/c++/%{gcc_dir_version} -maxdepth 1 -type f | xargs rm
|
||||
# And also remove installed pretty printers which conflict in similar ways
|
||||
rm -rf $RPM_BUILD_ROOT/%{_datadir}/gcc%{binsuffix}
|
||||
%endif
|
||||
%endif
|
||||
%endif
|
||||
|
||||
@ -676,7 +686,7 @@ rm -r env
|
||||
%if 0%{!?gcc_accel:1}
|
||||
mkdir -p %{buildroot}%{_sysconfdir}/alternatives
|
||||
for ex in gcc cpp \
|
||||
%if 0%{build_cp}
|
||||
%if %{build_cp}
|
||||
c++ g++ \
|
||||
%endif
|
||||
gcc-ar gcc-nm gcc-ranlib gcov gcov-dump gcov-tool; do
|
||||
@ -688,7 +698,7 @@ done
|
||||
%{_sbindir}/update-alternatives \
|
||||
--install %{_bindir}/%{gcc_target_arch}-gcc %{gcc_target_arch}-gcc %{_bindir}/%{gcc_target_arch}-gcc%{binsuffix} 7 \
|
||||
--slave %{_bindir}/%{gcc_target_arch}-cpp %{gcc_target_arch}-cpp %{_bindir}/%{gcc_target_arch}-cpp%{binsuffix} \
|
||||
%if 0%{build_cp}
|
||||
%if %{build_cp}
|
||||
--slave %{_bindir}/%{gcc_target_arch}-c++ %{gcc_target_arch}-c++ %{_bindir}/%{gcc_target_arch}-c++%{binsuffix} \
|
||||
--slave %{_bindir}/%{gcc_target_arch}-g++ %{gcc_target_arch}-g++ %{_bindir}/%{gcc_target_arch}-g++%{binsuffix} \
|
||||
%endif
|
||||
@ -737,13 +747,14 @@ fi
|
||||
%ghost %{_sysconfdir}/alternatives/%{gcc_target_arch}-gcov
|
||||
%ghost %{_sysconfdir}/alternatives/%{gcc_target_arch}-gcov-dump
|
||||
%ghost %{_sysconfdir}/alternatives/%{gcc_target_arch}-gcov-tool
|
||||
%if 0%{build_cp}
|
||||
%if %{build_cp}
|
||||
%{_prefix}/bin/%{gcc_target_arch}-c++%{binsuffix}
|
||||
%{_prefix}/bin/%{gcc_target_arch}-g++%{binsuffix}
|
||||
%{_prefix}/bin/%{gcc_target_arch}-c++
|
||||
%{_prefix}/bin/%{gcc_target_arch}-g++
|
||||
%ghost %{_sysconfdir}/alternatives/%{gcc_target_arch}-c++
|
||||
%ghost %{_sysconfdir}/alternatives/%{gcc_target_arch}-g++
|
||||
%{_prefix}/include/c++
|
||||
%endif
|
||||
%endif
|
||||
%dir %{targetlibsubdir}
|
||||
|
@ -1,3 +1,9 @@
|
||||
-------------------------------------------------------------------
|
||||
Mon Jan 15 12:24:39 UTC 2018 - rguenther@suse.com
|
||||
|
||||
- Handle new debug sources filelist variant debugsourcefiles.list.
|
||||
- Prune libstdc++ includes for crosses.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Jan 10 08:01:42 UTC 2018 - rguenther@suse.com
|
||||
|
||||
|
@ -599,12 +599,22 @@ export NO_BRP_STRIP_DEBUG=true
|
||||
export NO_DEBUGINFO_STRIP_DEBUG=true
|
||||
%define __debug_install_post %{nil}
|
||||
: >../debugfiles.list
|
||||
: >../debugsourcefiles.list
|
||||
: >../debugsources.list
|
||||
# We want shared libraries to reside in the sysroot but the .so symlinks
|
||||
# on the host. Once we have a cross target that has shared libs we need
|
||||
# to manually fix up things here like we do for non-cross compilers
|
||||
mkdir -p $RPM_BUILD_ROOT/%{?sysroot:%sysroot}
|
||||
make DESTDIR=$RPM_BUILD_ROOT install-target
|
||||
%if %{build_cp}
|
||||
# So we installed libstdc++ headers into %prefix where they conflict
|
||||
# with other host compilers. Rip out the non-target specific parts
|
||||
# again.
|
||||
find $RPM_BUILD_ROOT/%_prefix/include/c++/%{gcc_dir_version} -mindepth 1 -maxdepth 1 -type d -a -not -name %{gcc_target_arch} | xargs rm -r
|
||||
find $RPM_BUILD_ROOT/%_prefix/include/c++/%{gcc_dir_version} -maxdepth 1 -type f | xargs rm
|
||||
# And also remove installed pretty printers which conflict in similar ways
|
||||
rm -rf $RPM_BUILD_ROOT/%{_datadir}/gcc%{binsuffix}
|
||||
%endif
|
||||
%endif
|
||||
%endif
|
||||
|
||||
@ -676,7 +686,7 @@ rm -r env
|
||||
%if 0%{!?gcc_accel:1}
|
||||
mkdir -p %{buildroot}%{_sysconfdir}/alternatives
|
||||
for ex in gcc cpp \
|
||||
%if 0%{build_cp}
|
||||
%if %{build_cp}
|
||||
c++ g++ \
|
||||
%endif
|
||||
gcc-ar gcc-nm gcc-ranlib gcov gcov-dump gcov-tool; do
|
||||
@ -688,7 +698,7 @@ done
|
||||
%{_sbindir}/update-alternatives \
|
||||
--install %{_bindir}/%{gcc_target_arch}-gcc %{gcc_target_arch}-gcc %{_bindir}/%{gcc_target_arch}-gcc%{binsuffix} 7 \
|
||||
--slave %{_bindir}/%{gcc_target_arch}-cpp %{gcc_target_arch}-cpp %{_bindir}/%{gcc_target_arch}-cpp%{binsuffix} \
|
||||
%if 0%{build_cp}
|
||||
%if %{build_cp}
|
||||
--slave %{_bindir}/%{gcc_target_arch}-c++ %{gcc_target_arch}-c++ %{_bindir}/%{gcc_target_arch}-c++%{binsuffix} \
|
||||
--slave %{_bindir}/%{gcc_target_arch}-g++ %{gcc_target_arch}-g++ %{_bindir}/%{gcc_target_arch}-g++%{binsuffix} \
|
||||
%endif
|
||||
@ -737,13 +747,14 @@ fi
|
||||
%ghost %{_sysconfdir}/alternatives/%{gcc_target_arch}-gcov
|
||||
%ghost %{_sysconfdir}/alternatives/%{gcc_target_arch}-gcov-dump
|
||||
%ghost %{_sysconfdir}/alternatives/%{gcc_target_arch}-gcov-tool
|
||||
%if 0%{build_cp}
|
||||
%if %{build_cp}
|
||||
%{_prefix}/bin/%{gcc_target_arch}-c++%{binsuffix}
|
||||
%{_prefix}/bin/%{gcc_target_arch}-g++%{binsuffix}
|
||||
%{_prefix}/bin/%{gcc_target_arch}-c++
|
||||
%{_prefix}/bin/%{gcc_target_arch}-g++
|
||||
%ghost %{_sysconfdir}/alternatives/%{gcc_target_arch}-c++
|
||||
%ghost %{_sysconfdir}/alternatives/%{gcc_target_arch}-g++
|
||||
%{_prefix}/include/c++
|
||||
%endif
|
||||
%endif
|
||||
%dir %{targetlibsubdir}
|
||||
|
@ -1,3 +1,9 @@
|
||||
-------------------------------------------------------------------
|
||||
Mon Jan 15 12:24:39 UTC 2018 - rguenther@suse.com
|
||||
|
||||
- Handle new debug sources filelist variant debugsourcefiles.list.
|
||||
- Prune libstdc++ includes for crosses.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Jan 10 08:01:42 UTC 2018 - rguenther@suse.com
|
||||
|
||||
|
@ -599,12 +599,22 @@ export NO_BRP_STRIP_DEBUG=true
|
||||
export NO_DEBUGINFO_STRIP_DEBUG=true
|
||||
%define __debug_install_post %{nil}
|
||||
: >../debugfiles.list
|
||||
: >../debugsourcefiles.list
|
||||
: >../debugsources.list
|
||||
# We want shared libraries to reside in the sysroot but the .so symlinks
|
||||
# on the host. Once we have a cross target that has shared libs we need
|
||||
# to manually fix up things here like we do for non-cross compilers
|
||||
mkdir -p $RPM_BUILD_ROOT/%{?sysroot:%sysroot}
|
||||
make DESTDIR=$RPM_BUILD_ROOT install-target
|
||||
%if %{build_cp}
|
||||
# So we installed libstdc++ headers into %prefix where they conflict
|
||||
# with other host compilers. Rip out the non-target specific parts
|
||||
# again.
|
||||
find $RPM_BUILD_ROOT/%_prefix/include/c++/%{gcc_dir_version} -mindepth 1 -maxdepth 1 -type d -a -not -name %{gcc_target_arch} | xargs rm -r
|
||||
find $RPM_BUILD_ROOT/%_prefix/include/c++/%{gcc_dir_version} -maxdepth 1 -type f | xargs rm
|
||||
# And also remove installed pretty printers which conflict in similar ways
|
||||
rm -rf $RPM_BUILD_ROOT/%{_datadir}/gcc%{binsuffix}
|
||||
%endif
|
||||
%endif
|
||||
%endif
|
||||
|
||||
@ -676,7 +686,7 @@ rm -r env
|
||||
%if 0%{!?gcc_accel:1}
|
||||
mkdir -p %{buildroot}%{_sysconfdir}/alternatives
|
||||
for ex in gcc cpp \
|
||||
%if 0%{build_cp}
|
||||
%if %{build_cp}
|
||||
c++ g++ \
|
||||
%endif
|
||||
gcc-ar gcc-nm gcc-ranlib gcov gcov-dump gcov-tool; do
|
||||
@ -688,7 +698,7 @@ done
|
||||
%{_sbindir}/update-alternatives \
|
||||
--install %{_bindir}/%{gcc_target_arch}-gcc %{gcc_target_arch}-gcc %{_bindir}/%{gcc_target_arch}-gcc%{binsuffix} 7 \
|
||||
--slave %{_bindir}/%{gcc_target_arch}-cpp %{gcc_target_arch}-cpp %{_bindir}/%{gcc_target_arch}-cpp%{binsuffix} \
|
||||
%if 0%{build_cp}
|
||||
%if %{build_cp}
|
||||
--slave %{_bindir}/%{gcc_target_arch}-c++ %{gcc_target_arch}-c++ %{_bindir}/%{gcc_target_arch}-c++%{binsuffix} \
|
||||
--slave %{_bindir}/%{gcc_target_arch}-g++ %{gcc_target_arch}-g++ %{_bindir}/%{gcc_target_arch}-g++%{binsuffix} \
|
||||
%endif
|
||||
@ -737,13 +747,14 @@ fi
|
||||
%ghost %{_sysconfdir}/alternatives/%{gcc_target_arch}-gcov
|
||||
%ghost %{_sysconfdir}/alternatives/%{gcc_target_arch}-gcov-dump
|
||||
%ghost %{_sysconfdir}/alternatives/%{gcc_target_arch}-gcov-tool
|
||||
%if 0%{build_cp}
|
||||
%if %{build_cp}
|
||||
%{_prefix}/bin/%{gcc_target_arch}-c++%{binsuffix}
|
||||
%{_prefix}/bin/%{gcc_target_arch}-g++%{binsuffix}
|
||||
%{_prefix}/bin/%{gcc_target_arch}-c++
|
||||
%{_prefix}/bin/%{gcc_target_arch}-g++
|
||||
%ghost %{_sysconfdir}/alternatives/%{gcc_target_arch}-c++
|
||||
%ghost %{_sysconfdir}/alternatives/%{gcc_target_arch}-g++
|
||||
%{_prefix}/include/c++
|
||||
%endif
|
||||
%endif
|
||||
%dir %{targetlibsubdir}
|
||||
|
@ -1,3 +1,9 @@
|
||||
-------------------------------------------------------------------
|
||||
Mon Jan 15 12:24:39 UTC 2018 - rguenther@suse.com
|
||||
|
||||
- Handle new debug sources filelist variant debugsourcefiles.list.
|
||||
- Prune libstdc++ includes for crosses.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Jan 10 08:01:42 UTC 2018 - rguenther@suse.com
|
||||
|
||||
|
@ -599,12 +599,22 @@ export NO_BRP_STRIP_DEBUG=true
|
||||
export NO_DEBUGINFO_STRIP_DEBUG=true
|
||||
%define __debug_install_post %{nil}
|
||||
: >../debugfiles.list
|
||||
: >../debugsourcefiles.list
|
||||
: >../debugsources.list
|
||||
# We want shared libraries to reside in the sysroot but the .so symlinks
|
||||
# on the host. Once we have a cross target that has shared libs we need
|
||||
# to manually fix up things here like we do for non-cross compilers
|
||||
mkdir -p $RPM_BUILD_ROOT/%{?sysroot:%sysroot}
|
||||
make DESTDIR=$RPM_BUILD_ROOT install-target
|
||||
%if %{build_cp}
|
||||
# So we installed libstdc++ headers into %prefix where they conflict
|
||||
# with other host compilers. Rip out the non-target specific parts
|
||||
# again.
|
||||
find $RPM_BUILD_ROOT/%_prefix/include/c++/%{gcc_dir_version} -mindepth 1 -maxdepth 1 -type d -a -not -name %{gcc_target_arch} | xargs rm -r
|
||||
find $RPM_BUILD_ROOT/%_prefix/include/c++/%{gcc_dir_version} -maxdepth 1 -type f | xargs rm
|
||||
# And also remove installed pretty printers which conflict in similar ways
|
||||
rm -rf $RPM_BUILD_ROOT/%{_datadir}/gcc%{binsuffix}
|
||||
%endif
|
||||
%endif
|
||||
%endif
|
||||
|
||||
@ -676,7 +686,7 @@ rm -r env
|
||||
%if 0%{!?gcc_accel:1}
|
||||
mkdir -p %{buildroot}%{_sysconfdir}/alternatives
|
||||
for ex in gcc cpp \
|
||||
%if 0%{build_cp}
|
||||
%if %{build_cp}
|
||||
c++ g++ \
|
||||
%endif
|
||||
gcc-ar gcc-nm gcc-ranlib gcov gcov-dump gcov-tool; do
|
||||
@ -688,7 +698,7 @@ done
|
||||
%{_sbindir}/update-alternatives \
|
||||
--install %{_bindir}/%{gcc_target_arch}-gcc %{gcc_target_arch}-gcc %{_bindir}/%{gcc_target_arch}-gcc%{binsuffix} 7 \
|
||||
--slave %{_bindir}/%{gcc_target_arch}-cpp %{gcc_target_arch}-cpp %{_bindir}/%{gcc_target_arch}-cpp%{binsuffix} \
|
||||
%if 0%{build_cp}
|
||||
%if %{build_cp}
|
||||
--slave %{_bindir}/%{gcc_target_arch}-c++ %{gcc_target_arch}-c++ %{_bindir}/%{gcc_target_arch}-c++%{binsuffix} \
|
||||
--slave %{_bindir}/%{gcc_target_arch}-g++ %{gcc_target_arch}-g++ %{_bindir}/%{gcc_target_arch}-g++%{binsuffix} \
|
||||
%endif
|
||||
@ -737,13 +747,14 @@ fi
|
||||
%ghost %{_sysconfdir}/alternatives/%{gcc_target_arch}-gcov
|
||||
%ghost %{_sysconfdir}/alternatives/%{gcc_target_arch}-gcov-dump
|
||||
%ghost %{_sysconfdir}/alternatives/%{gcc_target_arch}-gcov-tool
|
||||
%if 0%{build_cp}
|
||||
%if %{build_cp}
|
||||
%{_prefix}/bin/%{gcc_target_arch}-c++%{binsuffix}
|
||||
%{_prefix}/bin/%{gcc_target_arch}-g++%{binsuffix}
|
||||
%{_prefix}/bin/%{gcc_target_arch}-c++
|
||||
%{_prefix}/bin/%{gcc_target_arch}-g++
|
||||
%ghost %{_sysconfdir}/alternatives/%{gcc_target_arch}-c++
|
||||
%ghost %{_sysconfdir}/alternatives/%{gcc_target_arch}-g++
|
||||
%{_prefix}/include/c++
|
||||
%endif
|
||||
%endif
|
||||
%dir %{targetlibsubdir}
|
||||
|
@ -1,3 +1,9 @@
|
||||
-------------------------------------------------------------------
|
||||
Mon Jan 15 12:24:39 UTC 2018 - rguenther@suse.com
|
||||
|
||||
- Handle new debug sources filelist variant debugsourcefiles.list.
|
||||
- Prune libstdc++ includes for crosses.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Jan 10 08:01:42 UTC 2018 - rguenther@suse.com
|
||||
|
||||
|
@ -600,12 +600,22 @@ export NO_BRP_STRIP_DEBUG=true
|
||||
export NO_DEBUGINFO_STRIP_DEBUG=true
|
||||
%define __debug_install_post %{nil}
|
||||
: >../debugfiles.list
|
||||
: >../debugsourcefiles.list
|
||||
: >../debugsources.list
|
||||
# We want shared libraries to reside in the sysroot but the .so symlinks
|
||||
# on the host. Once we have a cross target that has shared libs we need
|
||||
# to manually fix up things here like we do for non-cross compilers
|
||||
mkdir -p $RPM_BUILD_ROOT/%{?sysroot:%sysroot}
|
||||
make DESTDIR=$RPM_BUILD_ROOT install-target
|
||||
%if %{build_cp}
|
||||
# So we installed libstdc++ headers into %prefix where they conflict
|
||||
# with other host compilers. Rip out the non-target specific parts
|
||||
# again.
|
||||
find $RPM_BUILD_ROOT/%_prefix/include/c++/%{gcc_dir_version} -mindepth 1 -maxdepth 1 -type d -a -not -name %{gcc_target_arch} | xargs rm -r
|
||||
find $RPM_BUILD_ROOT/%_prefix/include/c++/%{gcc_dir_version} -maxdepth 1 -type f | xargs rm
|
||||
# And also remove installed pretty printers which conflict in similar ways
|
||||
rm -rf $RPM_BUILD_ROOT/%{_datadir}/gcc%{binsuffix}
|
||||
%endif
|
||||
%endif
|
||||
%endif
|
||||
|
||||
@ -677,7 +687,7 @@ rm -r env
|
||||
%if 0%{!?gcc_accel:1}
|
||||
mkdir -p %{buildroot}%{_sysconfdir}/alternatives
|
||||
for ex in gcc cpp \
|
||||
%if 0%{build_cp}
|
||||
%if %{build_cp}
|
||||
c++ g++ \
|
||||
%endif
|
||||
gcc-ar gcc-nm gcc-ranlib gcov gcov-dump gcov-tool; do
|
||||
@ -689,7 +699,7 @@ done
|
||||
%{_sbindir}/update-alternatives \
|
||||
--install %{_bindir}/%{gcc_target_arch}-gcc %{gcc_target_arch}-gcc %{_bindir}/%{gcc_target_arch}-gcc%{binsuffix} 7 \
|
||||
--slave %{_bindir}/%{gcc_target_arch}-cpp %{gcc_target_arch}-cpp %{_bindir}/%{gcc_target_arch}-cpp%{binsuffix} \
|
||||
%if 0%{build_cp}
|
||||
%if %{build_cp}
|
||||
--slave %{_bindir}/%{gcc_target_arch}-c++ %{gcc_target_arch}-c++ %{_bindir}/%{gcc_target_arch}-c++%{binsuffix} \
|
||||
--slave %{_bindir}/%{gcc_target_arch}-g++ %{gcc_target_arch}-g++ %{_bindir}/%{gcc_target_arch}-g++%{binsuffix} \
|
||||
%endif
|
||||
@ -738,13 +748,14 @@ fi
|
||||
%ghost %{_sysconfdir}/alternatives/%{gcc_target_arch}-gcov
|
||||
%ghost %{_sysconfdir}/alternatives/%{gcc_target_arch}-gcov-dump
|
||||
%ghost %{_sysconfdir}/alternatives/%{gcc_target_arch}-gcov-tool
|
||||
%if 0%{build_cp}
|
||||
%if %{build_cp}
|
||||
%{_prefix}/bin/%{gcc_target_arch}-c++%{binsuffix}
|
||||
%{_prefix}/bin/%{gcc_target_arch}-g++%{binsuffix}
|
||||
%{_prefix}/bin/%{gcc_target_arch}-c++
|
||||
%{_prefix}/bin/%{gcc_target_arch}-g++
|
||||
%ghost %{_sysconfdir}/alternatives/%{gcc_target_arch}-c++
|
||||
%ghost %{_sysconfdir}/alternatives/%{gcc_target_arch}-g++
|
||||
%{_prefix}/include/c++
|
||||
%endif
|
||||
%endif
|
||||
%dir %{targetlibsubdir}
|
||||
|
@ -1,3 +1,9 @@
|
||||
-------------------------------------------------------------------
|
||||
Mon Jan 15 12:24:39 UTC 2018 - rguenther@suse.com
|
||||
|
||||
- Handle new debug sources filelist variant debugsourcefiles.list.
|
||||
- Prune libstdc++ includes for crosses.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Jan 10 08:01:42 UTC 2018 - rguenther@suse.com
|
||||
|
||||
|
@ -599,12 +599,22 @@ export NO_BRP_STRIP_DEBUG=true
|
||||
export NO_DEBUGINFO_STRIP_DEBUG=true
|
||||
%define __debug_install_post %{nil}
|
||||
: >../debugfiles.list
|
||||
: >../debugsourcefiles.list
|
||||
: >../debugsources.list
|
||||
# We want shared libraries to reside in the sysroot but the .so symlinks
|
||||
# on the host. Once we have a cross target that has shared libs we need
|
||||
# to manually fix up things here like we do for non-cross compilers
|
||||
mkdir -p $RPM_BUILD_ROOT/%{?sysroot:%sysroot}
|
||||
make DESTDIR=$RPM_BUILD_ROOT install-target
|
||||
%if %{build_cp}
|
||||
# So we installed libstdc++ headers into %prefix where they conflict
|
||||
# with other host compilers. Rip out the non-target specific parts
|
||||
# again.
|
||||
find $RPM_BUILD_ROOT/%_prefix/include/c++/%{gcc_dir_version} -mindepth 1 -maxdepth 1 -type d -a -not -name %{gcc_target_arch} | xargs rm -r
|
||||
find $RPM_BUILD_ROOT/%_prefix/include/c++/%{gcc_dir_version} -maxdepth 1 -type f | xargs rm
|
||||
# And also remove installed pretty printers which conflict in similar ways
|
||||
rm -rf $RPM_BUILD_ROOT/%{_datadir}/gcc%{binsuffix}
|
||||
%endif
|
||||
%endif
|
||||
%endif
|
||||
|
||||
@ -676,7 +686,7 @@ rm -r env
|
||||
%if 0%{!?gcc_accel:1}
|
||||
mkdir -p %{buildroot}%{_sysconfdir}/alternatives
|
||||
for ex in gcc cpp \
|
||||
%if 0%{build_cp}
|
||||
%if %{build_cp}
|
||||
c++ g++ \
|
||||
%endif
|
||||
gcc-ar gcc-nm gcc-ranlib gcov gcov-dump gcov-tool; do
|
||||
@ -688,7 +698,7 @@ done
|
||||
%{_sbindir}/update-alternatives \
|
||||
--install %{_bindir}/%{gcc_target_arch}-gcc %{gcc_target_arch}-gcc %{_bindir}/%{gcc_target_arch}-gcc%{binsuffix} 7 \
|
||||
--slave %{_bindir}/%{gcc_target_arch}-cpp %{gcc_target_arch}-cpp %{_bindir}/%{gcc_target_arch}-cpp%{binsuffix} \
|
||||
%if 0%{build_cp}
|
||||
%if %{build_cp}
|
||||
--slave %{_bindir}/%{gcc_target_arch}-c++ %{gcc_target_arch}-c++ %{_bindir}/%{gcc_target_arch}-c++%{binsuffix} \
|
||||
--slave %{_bindir}/%{gcc_target_arch}-g++ %{gcc_target_arch}-g++ %{_bindir}/%{gcc_target_arch}-g++%{binsuffix} \
|
||||
%endif
|
||||
@ -737,13 +747,14 @@ fi
|
||||
%ghost %{_sysconfdir}/alternatives/%{gcc_target_arch}-gcov
|
||||
%ghost %{_sysconfdir}/alternatives/%{gcc_target_arch}-gcov-dump
|
||||
%ghost %{_sysconfdir}/alternatives/%{gcc_target_arch}-gcov-tool
|
||||
%if 0%{build_cp}
|
||||
%if %{build_cp}
|
||||
%{_prefix}/bin/%{gcc_target_arch}-c++%{binsuffix}
|
||||
%{_prefix}/bin/%{gcc_target_arch}-g++%{binsuffix}
|
||||
%{_prefix}/bin/%{gcc_target_arch}-c++
|
||||
%{_prefix}/bin/%{gcc_target_arch}-g++
|
||||
%ghost %{_sysconfdir}/alternatives/%{gcc_target_arch}-c++
|
||||
%ghost %{_sysconfdir}/alternatives/%{gcc_target_arch}-g++
|
||||
%{_prefix}/include/c++
|
||||
%endif
|
||||
%endif
|
||||
%dir %{targetlibsubdir}
|
||||
|
@ -1,3 +1,9 @@
|
||||
-------------------------------------------------------------------
|
||||
Mon Jan 15 12:24:39 UTC 2018 - rguenther@suse.com
|
||||
|
||||
- Handle new debug sources filelist variant debugsourcefiles.list.
|
||||
- Prune libstdc++ includes for crosses.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Jan 10 08:01:42 UTC 2018 - rguenther@suse.com
|
||||
|
||||
|
@ -599,12 +599,22 @@ export NO_BRP_STRIP_DEBUG=true
|
||||
export NO_DEBUGINFO_STRIP_DEBUG=true
|
||||
%define __debug_install_post %{nil}
|
||||
: >../debugfiles.list
|
||||
: >../debugsourcefiles.list
|
||||
: >../debugsources.list
|
||||
# We want shared libraries to reside in the sysroot but the .so symlinks
|
||||
# on the host. Once we have a cross target that has shared libs we need
|
||||
# to manually fix up things here like we do for non-cross compilers
|
||||
mkdir -p $RPM_BUILD_ROOT/%{?sysroot:%sysroot}
|
||||
make DESTDIR=$RPM_BUILD_ROOT install-target
|
||||
%if %{build_cp}
|
||||
# So we installed libstdc++ headers into %prefix where they conflict
|
||||
# with other host compilers. Rip out the non-target specific parts
|
||||
# again.
|
||||
find $RPM_BUILD_ROOT/%_prefix/include/c++/%{gcc_dir_version} -mindepth 1 -maxdepth 1 -type d -a -not -name %{gcc_target_arch} | xargs rm -r
|
||||
find $RPM_BUILD_ROOT/%_prefix/include/c++/%{gcc_dir_version} -maxdepth 1 -type f | xargs rm
|
||||
# And also remove installed pretty printers which conflict in similar ways
|
||||
rm -rf $RPM_BUILD_ROOT/%{_datadir}/gcc%{binsuffix}
|
||||
%endif
|
||||
%endif
|
||||
%endif
|
||||
|
||||
@ -676,7 +686,7 @@ rm -r env
|
||||
%if 0%{!?gcc_accel:1}
|
||||
mkdir -p %{buildroot}%{_sysconfdir}/alternatives
|
||||
for ex in gcc cpp \
|
||||
%if 0%{build_cp}
|
||||
%if %{build_cp}
|
||||
c++ g++ \
|
||||
%endif
|
||||
gcc-ar gcc-nm gcc-ranlib gcov gcov-dump gcov-tool; do
|
||||
@ -688,7 +698,7 @@ done
|
||||
%{_sbindir}/update-alternatives \
|
||||
--install %{_bindir}/%{gcc_target_arch}-gcc %{gcc_target_arch}-gcc %{_bindir}/%{gcc_target_arch}-gcc%{binsuffix} 7 \
|
||||
--slave %{_bindir}/%{gcc_target_arch}-cpp %{gcc_target_arch}-cpp %{_bindir}/%{gcc_target_arch}-cpp%{binsuffix} \
|
||||
%if 0%{build_cp}
|
||||
%if %{build_cp}
|
||||
--slave %{_bindir}/%{gcc_target_arch}-c++ %{gcc_target_arch}-c++ %{_bindir}/%{gcc_target_arch}-c++%{binsuffix} \
|
||||
--slave %{_bindir}/%{gcc_target_arch}-g++ %{gcc_target_arch}-g++ %{_bindir}/%{gcc_target_arch}-g++%{binsuffix} \
|
||||
%endif
|
||||
@ -737,13 +747,14 @@ fi
|
||||
%ghost %{_sysconfdir}/alternatives/%{gcc_target_arch}-gcov
|
||||
%ghost %{_sysconfdir}/alternatives/%{gcc_target_arch}-gcov-dump
|
||||
%ghost %{_sysconfdir}/alternatives/%{gcc_target_arch}-gcov-tool
|
||||
%if 0%{build_cp}
|
||||
%if %{build_cp}
|
||||
%{_prefix}/bin/%{gcc_target_arch}-c++%{binsuffix}
|
||||
%{_prefix}/bin/%{gcc_target_arch}-g++%{binsuffix}
|
||||
%{_prefix}/bin/%{gcc_target_arch}-c++
|
||||
%{_prefix}/bin/%{gcc_target_arch}-g++
|
||||
%ghost %{_sysconfdir}/alternatives/%{gcc_target_arch}-c++
|
||||
%ghost %{_sysconfdir}/alternatives/%{gcc_target_arch}-g++
|
||||
%{_prefix}/include/c++
|
||||
%endif
|
||||
%endif
|
||||
%dir %{targetlibsubdir}
|
||||
|
@ -1,3 +1,9 @@
|
||||
-------------------------------------------------------------------
|
||||
Mon Jan 15 12:24:39 UTC 2018 - rguenther@suse.com
|
||||
|
||||
- Handle new debug sources filelist variant debugsourcefiles.list.
|
||||
- Prune libstdc++ includes for crosses.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Jan 10 08:01:42 UTC 2018 - rguenther@suse.com
|
||||
|
||||
|
@ -599,12 +599,22 @@ export NO_BRP_STRIP_DEBUG=true
|
||||
export NO_DEBUGINFO_STRIP_DEBUG=true
|
||||
%define __debug_install_post %{nil}
|
||||
: >../debugfiles.list
|
||||
: >../debugsourcefiles.list
|
||||
: >../debugsources.list
|
||||
# We want shared libraries to reside in the sysroot but the .so symlinks
|
||||
# on the host. Once we have a cross target that has shared libs we need
|
||||
# to manually fix up things here like we do for non-cross compilers
|
||||
mkdir -p $RPM_BUILD_ROOT/%{?sysroot:%sysroot}
|
||||
make DESTDIR=$RPM_BUILD_ROOT install-target
|
||||
%if %{build_cp}
|
||||
# So we installed libstdc++ headers into %prefix where they conflict
|
||||
# with other host compilers. Rip out the non-target specific parts
|
||||
# again.
|
||||
find $RPM_BUILD_ROOT/%_prefix/include/c++/%{gcc_dir_version} -mindepth 1 -maxdepth 1 -type d -a -not -name %{gcc_target_arch} | xargs rm -r
|
||||
find $RPM_BUILD_ROOT/%_prefix/include/c++/%{gcc_dir_version} -maxdepth 1 -type f | xargs rm
|
||||
# And also remove installed pretty printers which conflict in similar ways
|
||||
rm -rf $RPM_BUILD_ROOT/%{_datadir}/gcc%{binsuffix}
|
||||
%endif
|
||||
%endif
|
||||
%endif
|
||||
|
||||
@ -676,7 +686,7 @@ rm -r env
|
||||
%if 0%{!?gcc_accel:1}
|
||||
mkdir -p %{buildroot}%{_sysconfdir}/alternatives
|
||||
for ex in gcc cpp \
|
||||
%if 0%{build_cp}
|
||||
%if %{build_cp}
|
||||
c++ g++ \
|
||||
%endif
|
||||
gcc-ar gcc-nm gcc-ranlib gcov gcov-dump gcov-tool; do
|
||||
@ -688,7 +698,7 @@ done
|
||||
%{_sbindir}/update-alternatives \
|
||||
--install %{_bindir}/%{gcc_target_arch}-gcc %{gcc_target_arch}-gcc %{_bindir}/%{gcc_target_arch}-gcc%{binsuffix} 7 \
|
||||
--slave %{_bindir}/%{gcc_target_arch}-cpp %{gcc_target_arch}-cpp %{_bindir}/%{gcc_target_arch}-cpp%{binsuffix} \
|
||||
%if 0%{build_cp}
|
||||
%if %{build_cp}
|
||||
--slave %{_bindir}/%{gcc_target_arch}-c++ %{gcc_target_arch}-c++ %{_bindir}/%{gcc_target_arch}-c++%{binsuffix} \
|
||||
--slave %{_bindir}/%{gcc_target_arch}-g++ %{gcc_target_arch}-g++ %{_bindir}/%{gcc_target_arch}-g++%{binsuffix} \
|
||||
%endif
|
||||
@ -737,13 +747,14 @@ fi
|
||||
%ghost %{_sysconfdir}/alternatives/%{gcc_target_arch}-gcov
|
||||
%ghost %{_sysconfdir}/alternatives/%{gcc_target_arch}-gcov-dump
|
||||
%ghost %{_sysconfdir}/alternatives/%{gcc_target_arch}-gcov-tool
|
||||
%if 0%{build_cp}
|
||||
%if %{build_cp}
|
||||
%{_prefix}/bin/%{gcc_target_arch}-c++%{binsuffix}
|
||||
%{_prefix}/bin/%{gcc_target_arch}-g++%{binsuffix}
|
||||
%{_prefix}/bin/%{gcc_target_arch}-c++
|
||||
%{_prefix}/bin/%{gcc_target_arch}-g++
|
||||
%ghost %{_sysconfdir}/alternatives/%{gcc_target_arch}-c++
|
||||
%ghost %{_sysconfdir}/alternatives/%{gcc_target_arch}-g++
|
||||
%{_prefix}/include/c++
|
||||
%endif
|
||||
%endif
|
||||
%dir %{targetlibsubdir}
|
||||
|
@ -1,3 +1,9 @@
|
||||
-------------------------------------------------------------------
|
||||
Mon Jan 15 12:24:39 UTC 2018 - rguenther@suse.com
|
||||
|
||||
- Handle new debug sources filelist variant debugsourcefiles.list.
|
||||
- Prune libstdc++ includes for crosses.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Jan 10 08:01:42 UTC 2018 - rguenther@suse.com
|
||||
|
||||
|
@ -599,12 +599,22 @@ export NO_BRP_STRIP_DEBUG=true
|
||||
export NO_DEBUGINFO_STRIP_DEBUG=true
|
||||
%define __debug_install_post %{nil}
|
||||
: >../debugfiles.list
|
||||
: >../debugsourcefiles.list
|
||||
: >../debugsources.list
|
||||
# We want shared libraries to reside in the sysroot but the .so symlinks
|
||||
# on the host. Once we have a cross target that has shared libs we need
|
||||
# to manually fix up things here like we do for non-cross compilers
|
||||
mkdir -p $RPM_BUILD_ROOT/%{?sysroot:%sysroot}
|
||||
make DESTDIR=$RPM_BUILD_ROOT install-target
|
||||
%if %{build_cp}
|
||||
# So we installed libstdc++ headers into %prefix where they conflict
|
||||
# with other host compilers. Rip out the non-target specific parts
|
||||
# again.
|
||||
find $RPM_BUILD_ROOT/%_prefix/include/c++/%{gcc_dir_version} -mindepth 1 -maxdepth 1 -type d -a -not -name %{gcc_target_arch} | xargs rm -r
|
||||
find $RPM_BUILD_ROOT/%_prefix/include/c++/%{gcc_dir_version} -maxdepth 1 -type f | xargs rm
|
||||
# And also remove installed pretty printers which conflict in similar ways
|
||||
rm -rf $RPM_BUILD_ROOT/%{_datadir}/gcc%{binsuffix}
|
||||
%endif
|
||||
%endif
|
||||
%endif
|
||||
|
||||
@ -676,7 +686,7 @@ rm -r env
|
||||
%if 0%{!?gcc_accel:1}
|
||||
mkdir -p %{buildroot}%{_sysconfdir}/alternatives
|
||||
for ex in gcc cpp \
|
||||
%if 0%{build_cp}
|
||||
%if %{build_cp}
|
||||
c++ g++ \
|
||||
%endif
|
||||
gcc-ar gcc-nm gcc-ranlib gcov gcov-dump gcov-tool; do
|
||||
@ -688,7 +698,7 @@ done
|
||||
%{_sbindir}/update-alternatives \
|
||||
--install %{_bindir}/%{gcc_target_arch}-gcc %{gcc_target_arch}-gcc %{_bindir}/%{gcc_target_arch}-gcc%{binsuffix} 7 \
|
||||
--slave %{_bindir}/%{gcc_target_arch}-cpp %{gcc_target_arch}-cpp %{_bindir}/%{gcc_target_arch}-cpp%{binsuffix} \
|
||||
%if 0%{build_cp}
|
||||
%if %{build_cp}
|
||||
--slave %{_bindir}/%{gcc_target_arch}-c++ %{gcc_target_arch}-c++ %{_bindir}/%{gcc_target_arch}-c++%{binsuffix} \
|
||||
--slave %{_bindir}/%{gcc_target_arch}-g++ %{gcc_target_arch}-g++ %{_bindir}/%{gcc_target_arch}-g++%{binsuffix} \
|
||||
%endif
|
||||
@ -737,13 +747,14 @@ fi
|
||||
%ghost %{_sysconfdir}/alternatives/%{gcc_target_arch}-gcov
|
||||
%ghost %{_sysconfdir}/alternatives/%{gcc_target_arch}-gcov-dump
|
||||
%ghost %{_sysconfdir}/alternatives/%{gcc_target_arch}-gcov-tool
|
||||
%if 0%{build_cp}
|
||||
%if %{build_cp}
|
||||
%{_prefix}/bin/%{gcc_target_arch}-c++%{binsuffix}
|
||||
%{_prefix}/bin/%{gcc_target_arch}-g++%{binsuffix}
|
||||
%{_prefix}/bin/%{gcc_target_arch}-c++
|
||||
%{_prefix}/bin/%{gcc_target_arch}-g++
|
||||
%ghost %{_sysconfdir}/alternatives/%{gcc_target_arch}-c++
|
||||
%ghost %{_sysconfdir}/alternatives/%{gcc_target_arch}-g++
|
||||
%{_prefix}/include/c++
|
||||
%endif
|
||||
%endif
|
||||
%dir %{targetlibsubdir}
|
||||
|
@ -1,3 +1,9 @@
|
||||
-------------------------------------------------------------------
|
||||
Mon Jan 15 12:24:39 UTC 2018 - rguenther@suse.com
|
||||
|
||||
- Handle new debug sources filelist variant debugsourcefiles.list.
|
||||
- Prune libstdc++ includes for crosses.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Jan 10 08:01:42 UTC 2018 - rguenther@suse.com
|
||||
|
||||
|
@ -599,12 +599,22 @@ export NO_BRP_STRIP_DEBUG=true
|
||||
export NO_DEBUGINFO_STRIP_DEBUG=true
|
||||
%define __debug_install_post %{nil}
|
||||
: >../debugfiles.list
|
||||
: >../debugsourcefiles.list
|
||||
: >../debugsources.list
|
||||
# We want shared libraries to reside in the sysroot but the .so symlinks
|
||||
# on the host. Once we have a cross target that has shared libs we need
|
||||
# to manually fix up things here like we do for non-cross compilers
|
||||
mkdir -p $RPM_BUILD_ROOT/%{?sysroot:%sysroot}
|
||||
make DESTDIR=$RPM_BUILD_ROOT install-target
|
||||
%if %{build_cp}
|
||||
# So we installed libstdc++ headers into %prefix where they conflict
|
||||
# with other host compilers. Rip out the non-target specific parts
|
||||
# again.
|
||||
find $RPM_BUILD_ROOT/%_prefix/include/c++/%{gcc_dir_version} -mindepth 1 -maxdepth 1 -type d -a -not -name %{gcc_target_arch} | xargs rm -r
|
||||
find $RPM_BUILD_ROOT/%_prefix/include/c++/%{gcc_dir_version} -maxdepth 1 -type f | xargs rm
|
||||
# And also remove installed pretty printers which conflict in similar ways
|
||||
rm -rf $RPM_BUILD_ROOT/%{_datadir}/gcc%{binsuffix}
|
||||
%endif
|
||||
%endif
|
||||
%endif
|
||||
|
||||
@ -676,7 +686,7 @@ rm -r env
|
||||
%if 0%{!?gcc_accel:1}
|
||||
mkdir -p %{buildroot}%{_sysconfdir}/alternatives
|
||||
for ex in gcc cpp \
|
||||
%if 0%{build_cp}
|
||||
%if %{build_cp}
|
||||
c++ g++ \
|
||||
%endif
|
||||
gcc-ar gcc-nm gcc-ranlib gcov gcov-dump gcov-tool; do
|
||||
@ -688,7 +698,7 @@ done
|
||||
%{_sbindir}/update-alternatives \
|
||||
--install %{_bindir}/%{gcc_target_arch}-gcc %{gcc_target_arch}-gcc %{_bindir}/%{gcc_target_arch}-gcc%{binsuffix} 7 \
|
||||
--slave %{_bindir}/%{gcc_target_arch}-cpp %{gcc_target_arch}-cpp %{_bindir}/%{gcc_target_arch}-cpp%{binsuffix} \
|
||||
%if 0%{build_cp}
|
||||
%if %{build_cp}
|
||||
--slave %{_bindir}/%{gcc_target_arch}-c++ %{gcc_target_arch}-c++ %{_bindir}/%{gcc_target_arch}-c++%{binsuffix} \
|
||||
--slave %{_bindir}/%{gcc_target_arch}-g++ %{gcc_target_arch}-g++ %{_bindir}/%{gcc_target_arch}-g++%{binsuffix} \
|
||||
%endif
|
||||
@ -737,13 +747,14 @@ fi
|
||||
%ghost %{_sysconfdir}/alternatives/%{gcc_target_arch}-gcov
|
||||
%ghost %{_sysconfdir}/alternatives/%{gcc_target_arch}-gcov-dump
|
||||
%ghost %{_sysconfdir}/alternatives/%{gcc_target_arch}-gcov-tool
|
||||
%if 0%{build_cp}
|
||||
%if %{build_cp}
|
||||
%{_prefix}/bin/%{gcc_target_arch}-c++%{binsuffix}
|
||||
%{_prefix}/bin/%{gcc_target_arch}-g++%{binsuffix}
|
||||
%{_prefix}/bin/%{gcc_target_arch}-c++
|
||||
%{_prefix}/bin/%{gcc_target_arch}-g++
|
||||
%ghost %{_sysconfdir}/alternatives/%{gcc_target_arch}-c++
|
||||
%ghost %{_sysconfdir}/alternatives/%{gcc_target_arch}-g++
|
||||
%{_prefix}/include/c++
|
||||
%endif
|
||||
%endif
|
||||
%dir %{targetlibsubdir}
|
||||
|
@ -1,3 +1,9 @@
|
||||
-------------------------------------------------------------------
|
||||
Mon Jan 15 12:24:39 UTC 2018 - rguenther@suse.com
|
||||
|
||||
- Handle new debug sources filelist variant debugsourcefiles.list.
|
||||
- Prune libstdc++ includes for crosses.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Jan 10 08:01:42 UTC 2018 - rguenther@suse.com
|
||||
|
||||
|
@ -599,12 +599,22 @@ export NO_BRP_STRIP_DEBUG=true
|
||||
export NO_DEBUGINFO_STRIP_DEBUG=true
|
||||
%define __debug_install_post %{nil}
|
||||
: >../debugfiles.list
|
||||
: >../debugsourcefiles.list
|
||||
: >../debugsources.list
|
||||
# We want shared libraries to reside in the sysroot but the .so symlinks
|
||||
# on the host. Once we have a cross target that has shared libs we need
|
||||
# to manually fix up things here like we do for non-cross compilers
|
||||
mkdir -p $RPM_BUILD_ROOT/%{?sysroot:%sysroot}
|
||||
make DESTDIR=$RPM_BUILD_ROOT install-target
|
||||
%if %{build_cp}
|
||||
# So we installed libstdc++ headers into %prefix where they conflict
|
||||
# with other host compilers. Rip out the non-target specific parts
|
||||
# again.
|
||||
find $RPM_BUILD_ROOT/%_prefix/include/c++/%{gcc_dir_version} -mindepth 1 -maxdepth 1 -type d -a -not -name %{gcc_target_arch} | xargs rm -r
|
||||
find $RPM_BUILD_ROOT/%_prefix/include/c++/%{gcc_dir_version} -maxdepth 1 -type f | xargs rm
|
||||
# And also remove installed pretty printers which conflict in similar ways
|
||||
rm -rf $RPM_BUILD_ROOT/%{_datadir}/gcc%{binsuffix}
|
||||
%endif
|
||||
%endif
|
||||
%endif
|
||||
|
||||
@ -676,7 +686,7 @@ rm -r env
|
||||
%if 0%{!?gcc_accel:1}
|
||||
mkdir -p %{buildroot}%{_sysconfdir}/alternatives
|
||||
for ex in gcc cpp \
|
||||
%if 0%{build_cp}
|
||||
%if %{build_cp}
|
||||
c++ g++ \
|
||||
%endif
|
||||
gcc-ar gcc-nm gcc-ranlib gcov gcov-dump gcov-tool; do
|
||||
@ -688,7 +698,7 @@ done
|
||||
%{_sbindir}/update-alternatives \
|
||||
--install %{_bindir}/%{gcc_target_arch}-gcc %{gcc_target_arch}-gcc %{_bindir}/%{gcc_target_arch}-gcc%{binsuffix} 7 \
|
||||
--slave %{_bindir}/%{gcc_target_arch}-cpp %{gcc_target_arch}-cpp %{_bindir}/%{gcc_target_arch}-cpp%{binsuffix} \
|
||||
%if 0%{build_cp}
|
||||
%if %{build_cp}
|
||||
--slave %{_bindir}/%{gcc_target_arch}-c++ %{gcc_target_arch}-c++ %{_bindir}/%{gcc_target_arch}-c++%{binsuffix} \
|
||||
--slave %{_bindir}/%{gcc_target_arch}-g++ %{gcc_target_arch}-g++ %{_bindir}/%{gcc_target_arch}-g++%{binsuffix} \
|
||||
%endif
|
||||
@ -737,13 +747,14 @@ fi
|
||||
%ghost %{_sysconfdir}/alternatives/%{gcc_target_arch}-gcov
|
||||
%ghost %{_sysconfdir}/alternatives/%{gcc_target_arch}-gcov-dump
|
||||
%ghost %{_sysconfdir}/alternatives/%{gcc_target_arch}-gcov-tool
|
||||
%if 0%{build_cp}
|
||||
%if %{build_cp}
|
||||
%{_prefix}/bin/%{gcc_target_arch}-c++%{binsuffix}
|
||||
%{_prefix}/bin/%{gcc_target_arch}-g++%{binsuffix}
|
||||
%{_prefix}/bin/%{gcc_target_arch}-c++
|
||||
%{_prefix}/bin/%{gcc_target_arch}-g++
|
||||
%ghost %{_sysconfdir}/alternatives/%{gcc_target_arch}-c++
|
||||
%ghost %{_sysconfdir}/alternatives/%{gcc_target_arch}-g++
|
||||
%{_prefix}/include/c++
|
||||
%endif
|
||||
%endif
|
||||
%dir %{targetlibsubdir}
|
||||
|
@ -1,3 +1,9 @@
|
||||
-------------------------------------------------------------------
|
||||
Mon Jan 15 12:24:39 UTC 2018 - rguenther@suse.com
|
||||
|
||||
- Handle new debug sources filelist variant debugsourcefiles.list.
|
||||
- Prune libstdc++ includes for crosses.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Jan 10 08:01:42 UTC 2018 - rguenther@suse.com
|
||||
|
||||
|
@ -599,12 +599,22 @@ export NO_BRP_STRIP_DEBUG=true
|
||||
export NO_DEBUGINFO_STRIP_DEBUG=true
|
||||
%define __debug_install_post %{nil}
|
||||
: >../debugfiles.list
|
||||
: >../debugsourcefiles.list
|
||||
: >../debugsources.list
|
||||
# We want shared libraries to reside in the sysroot but the .so symlinks
|
||||
# on the host. Once we have a cross target that has shared libs we need
|
||||
# to manually fix up things here like we do for non-cross compilers
|
||||
mkdir -p $RPM_BUILD_ROOT/%{?sysroot:%sysroot}
|
||||
make DESTDIR=$RPM_BUILD_ROOT install-target
|
||||
%if %{build_cp}
|
||||
# So we installed libstdc++ headers into %prefix where they conflict
|
||||
# with other host compilers. Rip out the non-target specific parts
|
||||
# again.
|
||||
find $RPM_BUILD_ROOT/%_prefix/include/c++/%{gcc_dir_version} -mindepth 1 -maxdepth 1 -type d -a -not -name %{gcc_target_arch} | xargs rm -r
|
||||
find $RPM_BUILD_ROOT/%_prefix/include/c++/%{gcc_dir_version} -maxdepth 1 -type f | xargs rm
|
||||
# And also remove installed pretty printers which conflict in similar ways
|
||||
rm -rf $RPM_BUILD_ROOT/%{_datadir}/gcc%{binsuffix}
|
||||
%endif
|
||||
%endif
|
||||
%endif
|
||||
|
||||
@ -676,7 +686,7 @@ rm -r env
|
||||
%if 0%{!?gcc_accel:1}
|
||||
mkdir -p %{buildroot}%{_sysconfdir}/alternatives
|
||||
for ex in gcc cpp \
|
||||
%if 0%{build_cp}
|
||||
%if %{build_cp}
|
||||
c++ g++ \
|
||||
%endif
|
||||
gcc-ar gcc-nm gcc-ranlib gcov gcov-dump gcov-tool; do
|
||||
@ -688,7 +698,7 @@ done
|
||||
%{_sbindir}/update-alternatives \
|
||||
--install %{_bindir}/%{gcc_target_arch}-gcc %{gcc_target_arch}-gcc %{_bindir}/%{gcc_target_arch}-gcc%{binsuffix} 7 \
|
||||
--slave %{_bindir}/%{gcc_target_arch}-cpp %{gcc_target_arch}-cpp %{_bindir}/%{gcc_target_arch}-cpp%{binsuffix} \
|
||||
%if 0%{build_cp}
|
||||
%if %{build_cp}
|
||||
--slave %{_bindir}/%{gcc_target_arch}-c++ %{gcc_target_arch}-c++ %{_bindir}/%{gcc_target_arch}-c++%{binsuffix} \
|
||||
--slave %{_bindir}/%{gcc_target_arch}-g++ %{gcc_target_arch}-g++ %{_bindir}/%{gcc_target_arch}-g++%{binsuffix} \
|
||||
%endif
|
||||
@ -737,13 +747,14 @@ fi
|
||||
%ghost %{_sysconfdir}/alternatives/%{gcc_target_arch}-gcov
|
||||
%ghost %{_sysconfdir}/alternatives/%{gcc_target_arch}-gcov-dump
|
||||
%ghost %{_sysconfdir}/alternatives/%{gcc_target_arch}-gcov-tool
|
||||
%if 0%{build_cp}
|
||||
%if %{build_cp}
|
||||
%{_prefix}/bin/%{gcc_target_arch}-c++%{binsuffix}
|
||||
%{_prefix}/bin/%{gcc_target_arch}-g++%{binsuffix}
|
||||
%{_prefix}/bin/%{gcc_target_arch}-c++
|
||||
%{_prefix}/bin/%{gcc_target_arch}-g++
|
||||
%ghost %{_sysconfdir}/alternatives/%{gcc_target_arch}-c++
|
||||
%ghost %{_sysconfdir}/alternatives/%{gcc_target_arch}-g++
|
||||
%{_prefix}/include/c++
|
||||
%endif
|
||||
%endif
|
||||
%dir %{targetlibsubdir}
|
||||
|
@ -1,3 +1,9 @@
|
||||
-------------------------------------------------------------------
|
||||
Mon Jan 15 12:24:39 UTC 2018 - rguenther@suse.com
|
||||
|
||||
- Handle new debug sources filelist variant debugsourcefiles.list.
|
||||
- Prune libstdc++ includes for crosses.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Jan 10 08:01:42 UTC 2018 - rguenther@suse.com
|
||||
|
||||
|
@ -599,12 +599,22 @@ export NO_BRP_STRIP_DEBUG=true
|
||||
export NO_DEBUGINFO_STRIP_DEBUG=true
|
||||
%define __debug_install_post %{nil}
|
||||
: >../debugfiles.list
|
||||
: >../debugsourcefiles.list
|
||||
: >../debugsources.list
|
||||
# We want shared libraries to reside in the sysroot but the .so symlinks
|
||||
# on the host. Once we have a cross target that has shared libs we need
|
||||
# to manually fix up things here like we do for non-cross compilers
|
||||
mkdir -p $RPM_BUILD_ROOT/%{?sysroot:%sysroot}
|
||||
make DESTDIR=$RPM_BUILD_ROOT install-target
|
||||
%if %{build_cp}
|
||||
# So we installed libstdc++ headers into %prefix where they conflict
|
||||
# with other host compilers. Rip out the non-target specific parts
|
||||
# again.
|
||||
find $RPM_BUILD_ROOT/%_prefix/include/c++/%{gcc_dir_version} -mindepth 1 -maxdepth 1 -type d -a -not -name %{gcc_target_arch} | xargs rm -r
|
||||
find $RPM_BUILD_ROOT/%_prefix/include/c++/%{gcc_dir_version} -maxdepth 1 -type f | xargs rm
|
||||
# And also remove installed pretty printers which conflict in similar ways
|
||||
rm -rf $RPM_BUILD_ROOT/%{_datadir}/gcc%{binsuffix}
|
||||
%endif
|
||||
%endif
|
||||
%endif
|
||||
|
||||
@ -676,7 +686,7 @@ rm -r env
|
||||
%if 0%{!?gcc_accel:1}
|
||||
mkdir -p %{buildroot}%{_sysconfdir}/alternatives
|
||||
for ex in gcc cpp \
|
||||
%if 0%{build_cp}
|
||||
%if %{build_cp}
|
||||
c++ g++ \
|
||||
%endif
|
||||
gcc-ar gcc-nm gcc-ranlib gcov gcov-dump gcov-tool; do
|
||||
@ -688,7 +698,7 @@ done
|
||||
%{_sbindir}/update-alternatives \
|
||||
--install %{_bindir}/%{gcc_target_arch}-gcc %{gcc_target_arch}-gcc %{_bindir}/%{gcc_target_arch}-gcc%{binsuffix} 7 \
|
||||
--slave %{_bindir}/%{gcc_target_arch}-cpp %{gcc_target_arch}-cpp %{_bindir}/%{gcc_target_arch}-cpp%{binsuffix} \
|
||||
%if 0%{build_cp}
|
||||
%if %{build_cp}
|
||||
--slave %{_bindir}/%{gcc_target_arch}-c++ %{gcc_target_arch}-c++ %{_bindir}/%{gcc_target_arch}-c++%{binsuffix} \
|
||||
--slave %{_bindir}/%{gcc_target_arch}-g++ %{gcc_target_arch}-g++ %{_bindir}/%{gcc_target_arch}-g++%{binsuffix} \
|
||||
%endif
|
||||
@ -737,13 +747,14 @@ fi
|
||||
%ghost %{_sysconfdir}/alternatives/%{gcc_target_arch}-gcov
|
||||
%ghost %{_sysconfdir}/alternatives/%{gcc_target_arch}-gcov-dump
|
||||
%ghost %{_sysconfdir}/alternatives/%{gcc_target_arch}-gcov-tool
|
||||
%if 0%{build_cp}
|
||||
%if %{build_cp}
|
||||
%{_prefix}/bin/%{gcc_target_arch}-c++%{binsuffix}
|
||||
%{_prefix}/bin/%{gcc_target_arch}-g++%{binsuffix}
|
||||
%{_prefix}/bin/%{gcc_target_arch}-c++
|
||||
%{_prefix}/bin/%{gcc_target_arch}-g++
|
||||
%ghost %{_sysconfdir}/alternatives/%{gcc_target_arch}-c++
|
||||
%ghost %{_sysconfdir}/alternatives/%{gcc_target_arch}-g++
|
||||
%{_prefix}/include/c++
|
||||
%endif
|
||||
%endif
|
||||
%dir %{targetlibsubdir}
|
||||
|
@ -1,3 +1,9 @@
|
||||
-------------------------------------------------------------------
|
||||
Mon Jan 15 12:24:39 UTC 2018 - rguenther@suse.com
|
||||
|
||||
- Handle new debug sources filelist variant debugsourcefiles.list.
|
||||
- Prune libstdc++ includes for crosses.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Jan 10 08:01:42 UTC 2018 - rguenther@suse.com
|
||||
|
||||
|
@ -600,12 +600,22 @@ export NO_BRP_STRIP_DEBUG=true
|
||||
export NO_DEBUGINFO_STRIP_DEBUG=true
|
||||
%define __debug_install_post %{nil}
|
||||
: >../debugfiles.list
|
||||
: >../debugsourcefiles.list
|
||||
: >../debugsources.list
|
||||
# We want shared libraries to reside in the sysroot but the .so symlinks
|
||||
# on the host. Once we have a cross target that has shared libs we need
|
||||
# to manually fix up things here like we do for non-cross compilers
|
||||
mkdir -p $RPM_BUILD_ROOT/%{?sysroot:%sysroot}
|
||||
make DESTDIR=$RPM_BUILD_ROOT install-target
|
||||
%if %{build_cp}
|
||||
# So we installed libstdc++ headers into %prefix where they conflict
|
||||
# with other host compilers. Rip out the non-target specific parts
|
||||
# again.
|
||||
find $RPM_BUILD_ROOT/%_prefix/include/c++/%{gcc_dir_version} -mindepth 1 -maxdepth 1 -type d -a -not -name %{gcc_target_arch} | xargs rm -r
|
||||
find $RPM_BUILD_ROOT/%_prefix/include/c++/%{gcc_dir_version} -maxdepth 1 -type f | xargs rm
|
||||
# And also remove installed pretty printers which conflict in similar ways
|
||||
rm -rf $RPM_BUILD_ROOT/%{_datadir}/gcc%{binsuffix}
|
||||
%endif
|
||||
%endif
|
||||
%endif
|
||||
|
||||
@ -677,7 +687,7 @@ rm -r env
|
||||
%if 0%{!?gcc_accel:1}
|
||||
mkdir -p %{buildroot}%{_sysconfdir}/alternatives
|
||||
for ex in gcc cpp \
|
||||
%if 0%{build_cp}
|
||||
%if %{build_cp}
|
||||
c++ g++ \
|
||||
%endif
|
||||
gcc-ar gcc-nm gcc-ranlib gcov gcov-dump gcov-tool; do
|
||||
@ -689,7 +699,7 @@ done
|
||||
%{_sbindir}/update-alternatives \
|
||||
--install %{_bindir}/%{gcc_target_arch}-gcc %{gcc_target_arch}-gcc %{_bindir}/%{gcc_target_arch}-gcc%{binsuffix} 7 \
|
||||
--slave %{_bindir}/%{gcc_target_arch}-cpp %{gcc_target_arch}-cpp %{_bindir}/%{gcc_target_arch}-cpp%{binsuffix} \
|
||||
%if 0%{build_cp}
|
||||
%if %{build_cp}
|
||||
--slave %{_bindir}/%{gcc_target_arch}-c++ %{gcc_target_arch}-c++ %{_bindir}/%{gcc_target_arch}-c++%{binsuffix} \
|
||||
--slave %{_bindir}/%{gcc_target_arch}-g++ %{gcc_target_arch}-g++ %{_bindir}/%{gcc_target_arch}-g++%{binsuffix} \
|
||||
%endif
|
||||
@ -738,13 +748,14 @@ fi
|
||||
%ghost %{_sysconfdir}/alternatives/%{gcc_target_arch}-gcov
|
||||
%ghost %{_sysconfdir}/alternatives/%{gcc_target_arch}-gcov-dump
|
||||
%ghost %{_sysconfdir}/alternatives/%{gcc_target_arch}-gcov-tool
|
||||
%if 0%{build_cp}
|
||||
%if %{build_cp}
|
||||
%{_prefix}/bin/%{gcc_target_arch}-c++%{binsuffix}
|
||||
%{_prefix}/bin/%{gcc_target_arch}-g++%{binsuffix}
|
||||
%{_prefix}/bin/%{gcc_target_arch}-c++
|
||||
%{_prefix}/bin/%{gcc_target_arch}-g++
|
||||
%ghost %{_sysconfdir}/alternatives/%{gcc_target_arch}-c++
|
||||
%ghost %{_sysconfdir}/alternatives/%{gcc_target_arch}-g++
|
||||
%{_prefix}/include/c++
|
||||
%endif
|
||||
%endif
|
||||
%dir %{targetlibsubdir}
|
||||
|
@ -1,3 +1,9 @@
|
||||
-------------------------------------------------------------------
|
||||
Mon Jan 15 12:24:39 UTC 2018 - rguenther@suse.com
|
||||
|
||||
- Handle new debug sources filelist variant debugsourcefiles.list.
|
||||
- Prune libstdc++ includes for crosses.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Jan 10 08:01:42 UTC 2018 - rguenther@suse.com
|
||||
|
||||
|
@ -599,12 +599,22 @@ export NO_BRP_STRIP_DEBUG=true
|
||||
export NO_DEBUGINFO_STRIP_DEBUG=true
|
||||
%define __debug_install_post %{nil}
|
||||
: >../debugfiles.list
|
||||
: >../debugsourcefiles.list
|
||||
: >../debugsources.list
|
||||
# We want shared libraries to reside in the sysroot but the .so symlinks
|
||||
# on the host. Once we have a cross target that has shared libs we need
|
||||
# to manually fix up things here like we do for non-cross compilers
|
||||
mkdir -p $RPM_BUILD_ROOT/%{?sysroot:%sysroot}
|
||||
make DESTDIR=$RPM_BUILD_ROOT install-target
|
||||
%if %{build_cp}
|
||||
# So we installed libstdc++ headers into %prefix where they conflict
|
||||
# with other host compilers. Rip out the non-target specific parts
|
||||
# again.
|
||||
find $RPM_BUILD_ROOT/%_prefix/include/c++/%{gcc_dir_version} -mindepth 1 -maxdepth 1 -type d -a -not -name %{gcc_target_arch} | xargs rm -r
|
||||
find $RPM_BUILD_ROOT/%_prefix/include/c++/%{gcc_dir_version} -maxdepth 1 -type f | xargs rm
|
||||
# And also remove installed pretty printers which conflict in similar ways
|
||||
rm -rf $RPM_BUILD_ROOT/%{_datadir}/gcc%{binsuffix}
|
||||
%endif
|
||||
%endif
|
||||
%endif
|
||||
|
||||
@ -676,7 +686,7 @@ rm -r env
|
||||
%if 0%{!?gcc_accel:1}
|
||||
mkdir -p %{buildroot}%{_sysconfdir}/alternatives
|
||||
for ex in gcc cpp \
|
||||
%if 0%{build_cp}
|
||||
%if %{build_cp}
|
||||
c++ g++ \
|
||||
%endif
|
||||
gcc-ar gcc-nm gcc-ranlib gcov gcov-dump gcov-tool; do
|
||||
@ -688,7 +698,7 @@ done
|
||||
%{_sbindir}/update-alternatives \
|
||||
--install %{_bindir}/%{gcc_target_arch}-gcc %{gcc_target_arch}-gcc %{_bindir}/%{gcc_target_arch}-gcc%{binsuffix} 7 \
|
||||
--slave %{_bindir}/%{gcc_target_arch}-cpp %{gcc_target_arch}-cpp %{_bindir}/%{gcc_target_arch}-cpp%{binsuffix} \
|
||||
%if 0%{build_cp}
|
||||
%if %{build_cp}
|
||||
--slave %{_bindir}/%{gcc_target_arch}-c++ %{gcc_target_arch}-c++ %{_bindir}/%{gcc_target_arch}-c++%{binsuffix} \
|
||||
--slave %{_bindir}/%{gcc_target_arch}-g++ %{gcc_target_arch}-g++ %{_bindir}/%{gcc_target_arch}-g++%{binsuffix} \
|
||||
%endif
|
||||
@ -737,13 +747,14 @@ fi
|
||||
%ghost %{_sysconfdir}/alternatives/%{gcc_target_arch}-gcov
|
||||
%ghost %{_sysconfdir}/alternatives/%{gcc_target_arch}-gcov-dump
|
||||
%ghost %{_sysconfdir}/alternatives/%{gcc_target_arch}-gcov-tool
|
||||
%if 0%{build_cp}
|
||||
%if %{build_cp}
|
||||
%{_prefix}/bin/%{gcc_target_arch}-c++%{binsuffix}
|
||||
%{_prefix}/bin/%{gcc_target_arch}-g++%{binsuffix}
|
||||
%{_prefix}/bin/%{gcc_target_arch}-c++
|
||||
%{_prefix}/bin/%{gcc_target_arch}-g++
|
||||
%ghost %{_sysconfdir}/alternatives/%{gcc_target_arch}-c++
|
||||
%ghost %{_sysconfdir}/alternatives/%{gcc_target_arch}-g++
|
||||
%{_prefix}/include/c++
|
||||
%endif
|
||||
%endif
|
||||
%dir %{targetlibsubdir}
|
||||
|
@ -1,3 +1,9 @@
|
||||
-------------------------------------------------------------------
|
||||
Mon Jan 15 12:24:39 UTC 2018 - rguenther@suse.com
|
||||
|
||||
- Handle new debug sources filelist variant debugsourcefiles.list.
|
||||
- Prune libstdc++ includes for crosses.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Jan 10 08:01:42 UTC 2018 - rguenther@suse.com
|
||||
|
||||
|
@ -599,12 +599,22 @@ export NO_BRP_STRIP_DEBUG=true
|
||||
export NO_DEBUGINFO_STRIP_DEBUG=true
|
||||
%define __debug_install_post %{nil}
|
||||
: >../debugfiles.list
|
||||
: >../debugsourcefiles.list
|
||||
: >../debugsources.list
|
||||
# We want shared libraries to reside in the sysroot but the .so symlinks
|
||||
# on the host. Once we have a cross target that has shared libs we need
|
||||
# to manually fix up things here like we do for non-cross compilers
|
||||
mkdir -p $RPM_BUILD_ROOT/%{?sysroot:%sysroot}
|
||||
make DESTDIR=$RPM_BUILD_ROOT install-target
|
||||
%if %{build_cp}
|
||||
# So we installed libstdc++ headers into %prefix where they conflict
|
||||
# with other host compilers. Rip out the non-target specific parts
|
||||
# again.
|
||||
find $RPM_BUILD_ROOT/%_prefix/include/c++/%{gcc_dir_version} -mindepth 1 -maxdepth 1 -type d -a -not -name %{gcc_target_arch} | xargs rm -r
|
||||
find $RPM_BUILD_ROOT/%_prefix/include/c++/%{gcc_dir_version} -maxdepth 1 -type f | xargs rm
|
||||
# And also remove installed pretty printers which conflict in similar ways
|
||||
rm -rf $RPM_BUILD_ROOT/%{_datadir}/gcc%{binsuffix}
|
||||
%endif
|
||||
%endif
|
||||
%endif
|
||||
|
||||
@ -676,7 +686,7 @@ rm -r env
|
||||
%if 0%{!?gcc_accel:1}
|
||||
mkdir -p %{buildroot}%{_sysconfdir}/alternatives
|
||||
for ex in gcc cpp \
|
||||
%if 0%{build_cp}
|
||||
%if %{build_cp}
|
||||
c++ g++ \
|
||||
%endif
|
||||
gcc-ar gcc-nm gcc-ranlib gcov gcov-dump gcov-tool; do
|
||||
@ -688,7 +698,7 @@ done
|
||||
%{_sbindir}/update-alternatives \
|
||||
--install %{_bindir}/%{gcc_target_arch}-gcc %{gcc_target_arch}-gcc %{_bindir}/%{gcc_target_arch}-gcc%{binsuffix} 7 \
|
||||
--slave %{_bindir}/%{gcc_target_arch}-cpp %{gcc_target_arch}-cpp %{_bindir}/%{gcc_target_arch}-cpp%{binsuffix} \
|
||||
%if 0%{build_cp}
|
||||
%if %{build_cp}
|
||||
--slave %{_bindir}/%{gcc_target_arch}-c++ %{gcc_target_arch}-c++ %{_bindir}/%{gcc_target_arch}-c++%{binsuffix} \
|
||||
--slave %{_bindir}/%{gcc_target_arch}-g++ %{gcc_target_arch}-g++ %{_bindir}/%{gcc_target_arch}-g++%{binsuffix} \
|
||||
%endif
|
||||
@ -737,13 +747,14 @@ fi
|
||||
%ghost %{_sysconfdir}/alternatives/%{gcc_target_arch}-gcov
|
||||
%ghost %{_sysconfdir}/alternatives/%{gcc_target_arch}-gcov-dump
|
||||
%ghost %{_sysconfdir}/alternatives/%{gcc_target_arch}-gcov-tool
|
||||
%if 0%{build_cp}
|
||||
%if %{build_cp}
|
||||
%{_prefix}/bin/%{gcc_target_arch}-c++%{binsuffix}
|
||||
%{_prefix}/bin/%{gcc_target_arch}-g++%{binsuffix}
|
||||
%{_prefix}/bin/%{gcc_target_arch}-c++
|
||||
%{_prefix}/bin/%{gcc_target_arch}-g++
|
||||
%ghost %{_sysconfdir}/alternatives/%{gcc_target_arch}-c++
|
||||
%ghost %{_sysconfdir}/alternatives/%{gcc_target_arch}-g++
|
||||
%{_prefix}/include/c++
|
||||
%endif
|
||||
%endif
|
||||
%dir %{targetlibsubdir}
|
||||
|
@ -1,3 +1,9 @@
|
||||
-------------------------------------------------------------------
|
||||
Mon Jan 15 12:24:39 UTC 2018 - rguenther@suse.com
|
||||
|
||||
- Handle new debug sources filelist variant debugsourcefiles.list.
|
||||
- Prune libstdc++ includes for crosses.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Jan 10 08:01:42 UTC 2018 - rguenther@suse.com
|
||||
|
||||
|
@ -599,12 +599,22 @@ export NO_BRP_STRIP_DEBUG=true
|
||||
export NO_DEBUGINFO_STRIP_DEBUG=true
|
||||
%define __debug_install_post %{nil}
|
||||
: >../debugfiles.list
|
||||
: >../debugsourcefiles.list
|
||||
: >../debugsources.list
|
||||
# We want shared libraries to reside in the sysroot but the .so symlinks
|
||||
# on the host. Once we have a cross target that has shared libs we need
|
||||
# to manually fix up things here like we do for non-cross compilers
|
||||
mkdir -p $RPM_BUILD_ROOT/%{?sysroot:%sysroot}
|
||||
make DESTDIR=$RPM_BUILD_ROOT install-target
|
||||
%if %{build_cp}
|
||||
# So we installed libstdc++ headers into %prefix where they conflict
|
||||
# with other host compilers. Rip out the non-target specific parts
|
||||
# again.
|
||||
find $RPM_BUILD_ROOT/%_prefix/include/c++/%{gcc_dir_version} -mindepth 1 -maxdepth 1 -type d -a -not -name %{gcc_target_arch} | xargs rm -r
|
||||
find $RPM_BUILD_ROOT/%_prefix/include/c++/%{gcc_dir_version} -maxdepth 1 -type f | xargs rm
|
||||
# And also remove installed pretty printers which conflict in similar ways
|
||||
rm -rf $RPM_BUILD_ROOT/%{_datadir}/gcc%{binsuffix}
|
||||
%endif
|
||||
%endif
|
||||
%endif
|
||||
|
||||
@ -676,7 +686,7 @@ rm -r env
|
||||
%if 0%{!?gcc_accel:1}
|
||||
mkdir -p %{buildroot}%{_sysconfdir}/alternatives
|
||||
for ex in gcc cpp \
|
||||
%if 0%{build_cp}
|
||||
%if %{build_cp}
|
||||
c++ g++ \
|
||||
%endif
|
||||
gcc-ar gcc-nm gcc-ranlib gcov gcov-dump gcov-tool; do
|
||||
@ -688,7 +698,7 @@ done
|
||||
%{_sbindir}/update-alternatives \
|
||||
--install %{_bindir}/%{gcc_target_arch}-gcc %{gcc_target_arch}-gcc %{_bindir}/%{gcc_target_arch}-gcc%{binsuffix} 7 \
|
||||
--slave %{_bindir}/%{gcc_target_arch}-cpp %{gcc_target_arch}-cpp %{_bindir}/%{gcc_target_arch}-cpp%{binsuffix} \
|
||||
%if 0%{build_cp}
|
||||
%if %{build_cp}
|
||||
--slave %{_bindir}/%{gcc_target_arch}-c++ %{gcc_target_arch}-c++ %{_bindir}/%{gcc_target_arch}-c++%{binsuffix} \
|
||||
--slave %{_bindir}/%{gcc_target_arch}-g++ %{gcc_target_arch}-g++ %{_bindir}/%{gcc_target_arch}-g++%{binsuffix} \
|
||||
%endif
|
||||
@ -737,13 +747,14 @@ fi
|
||||
%ghost %{_sysconfdir}/alternatives/%{gcc_target_arch}-gcov
|
||||
%ghost %{_sysconfdir}/alternatives/%{gcc_target_arch}-gcov-dump
|
||||
%ghost %{_sysconfdir}/alternatives/%{gcc_target_arch}-gcov-tool
|
||||
%if 0%{build_cp}
|
||||
%if %{build_cp}
|
||||
%{_prefix}/bin/%{gcc_target_arch}-c++%{binsuffix}
|
||||
%{_prefix}/bin/%{gcc_target_arch}-g++%{binsuffix}
|
||||
%{_prefix}/bin/%{gcc_target_arch}-c++
|
||||
%{_prefix}/bin/%{gcc_target_arch}-g++
|
||||
%ghost %{_sysconfdir}/alternatives/%{gcc_target_arch}-c++
|
||||
%ghost %{_sysconfdir}/alternatives/%{gcc_target_arch}-g++
|
||||
%{_prefix}/include/c++
|
||||
%endif
|
||||
%endif
|
||||
%dir %{targetlibsubdir}
|
||||
|
@ -1,3 +1,9 @@
|
||||
-------------------------------------------------------------------
|
||||
Mon Jan 15 12:24:39 UTC 2018 - rguenther@suse.com
|
||||
|
||||
- Handle new debug sources filelist variant debugsourcefiles.list.
|
||||
- Prune libstdc++ includes for crosses.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Jan 10 08:01:42 UTC 2018 - rguenther@suse.com
|
||||
|
||||
|
@ -599,12 +599,22 @@ export NO_BRP_STRIP_DEBUG=true
|
||||
export NO_DEBUGINFO_STRIP_DEBUG=true
|
||||
%define __debug_install_post %{nil}
|
||||
: >../debugfiles.list
|
||||
: >../debugsourcefiles.list
|
||||
: >../debugsources.list
|
||||
# We want shared libraries to reside in the sysroot but the .so symlinks
|
||||
# on the host. Once we have a cross target that has shared libs we need
|
||||
# to manually fix up things here like we do for non-cross compilers
|
||||
mkdir -p $RPM_BUILD_ROOT/%{?sysroot:%sysroot}
|
||||
make DESTDIR=$RPM_BUILD_ROOT install-target
|
||||
%if %{build_cp}
|
||||
# So we installed libstdc++ headers into %prefix where they conflict
|
||||
# with other host compilers. Rip out the non-target specific parts
|
||||
# again.
|
||||
find $RPM_BUILD_ROOT/%_prefix/include/c++/%{gcc_dir_version} -mindepth 1 -maxdepth 1 -type d -a -not -name %{gcc_target_arch} | xargs rm -r
|
||||
find $RPM_BUILD_ROOT/%_prefix/include/c++/%{gcc_dir_version} -maxdepth 1 -type f | xargs rm
|
||||
# And also remove installed pretty printers which conflict in similar ways
|
||||
rm -rf $RPM_BUILD_ROOT/%{_datadir}/gcc%{binsuffix}
|
||||
%endif
|
||||
%endif
|
||||
%endif
|
||||
|
||||
@ -676,7 +686,7 @@ rm -r env
|
||||
%if 0%{!?gcc_accel:1}
|
||||
mkdir -p %{buildroot}%{_sysconfdir}/alternatives
|
||||
for ex in gcc cpp \
|
||||
%if 0%{build_cp}
|
||||
%if %{build_cp}
|
||||
c++ g++ \
|
||||
%endif
|
||||
gcc-ar gcc-nm gcc-ranlib gcov gcov-dump gcov-tool; do
|
||||
@ -688,7 +698,7 @@ done
|
||||
%{_sbindir}/update-alternatives \
|
||||
--install %{_bindir}/%{gcc_target_arch}-gcc %{gcc_target_arch}-gcc %{_bindir}/%{gcc_target_arch}-gcc%{binsuffix} 7 \
|
||||
--slave %{_bindir}/%{gcc_target_arch}-cpp %{gcc_target_arch}-cpp %{_bindir}/%{gcc_target_arch}-cpp%{binsuffix} \
|
||||
%if 0%{build_cp}
|
||||
%if %{build_cp}
|
||||
--slave %{_bindir}/%{gcc_target_arch}-c++ %{gcc_target_arch}-c++ %{_bindir}/%{gcc_target_arch}-c++%{binsuffix} \
|
||||
--slave %{_bindir}/%{gcc_target_arch}-g++ %{gcc_target_arch}-g++ %{_bindir}/%{gcc_target_arch}-g++%{binsuffix} \
|
||||
%endif
|
||||
@ -737,13 +747,14 @@ fi
|
||||
%ghost %{_sysconfdir}/alternatives/%{gcc_target_arch}-gcov
|
||||
%ghost %{_sysconfdir}/alternatives/%{gcc_target_arch}-gcov-dump
|
||||
%ghost %{_sysconfdir}/alternatives/%{gcc_target_arch}-gcov-tool
|
||||
%if 0%{build_cp}
|
||||
%if %{build_cp}
|
||||
%{_prefix}/bin/%{gcc_target_arch}-c++%{binsuffix}
|
||||
%{_prefix}/bin/%{gcc_target_arch}-g++%{binsuffix}
|
||||
%{_prefix}/bin/%{gcc_target_arch}-c++
|
||||
%{_prefix}/bin/%{gcc_target_arch}-g++
|
||||
%ghost %{_sysconfdir}/alternatives/%{gcc_target_arch}-c++
|
||||
%ghost %{_sysconfdir}/alternatives/%{gcc_target_arch}-g++
|
||||
%{_prefix}/include/c++
|
||||
%endif
|
||||
%endif
|
||||
%dir %{targetlibsubdir}
|
||||
|
@ -1,3 +1,9 @@
|
||||
-------------------------------------------------------------------
|
||||
Mon Jan 15 12:24:39 UTC 2018 - rguenther@suse.com
|
||||
|
||||
- Handle new debug sources filelist variant debugsourcefiles.list.
|
||||
- Prune libstdc++ includes for crosses.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Jan 10 08:01:42 UTC 2018 - rguenther@suse.com
|
||||
|
||||
|
@ -599,12 +599,22 @@ export NO_BRP_STRIP_DEBUG=true
|
||||
export NO_DEBUGINFO_STRIP_DEBUG=true
|
||||
%define __debug_install_post %{nil}
|
||||
: >../debugfiles.list
|
||||
: >../debugsourcefiles.list
|
||||
: >../debugsources.list
|
||||
# We want shared libraries to reside in the sysroot but the .so symlinks
|
||||
# on the host. Once we have a cross target that has shared libs we need
|
||||
# to manually fix up things here like we do for non-cross compilers
|
||||
mkdir -p $RPM_BUILD_ROOT/%{?sysroot:%sysroot}
|
||||
make DESTDIR=$RPM_BUILD_ROOT install-target
|
||||
%if %{build_cp}
|
||||
# So we installed libstdc++ headers into %prefix where they conflict
|
||||
# with other host compilers. Rip out the non-target specific parts
|
||||
# again.
|
||||
find $RPM_BUILD_ROOT/%_prefix/include/c++/%{gcc_dir_version} -mindepth 1 -maxdepth 1 -type d -a -not -name %{gcc_target_arch} | xargs rm -r
|
||||
find $RPM_BUILD_ROOT/%_prefix/include/c++/%{gcc_dir_version} -maxdepth 1 -type f | xargs rm
|
||||
# And also remove installed pretty printers which conflict in similar ways
|
||||
rm -rf $RPM_BUILD_ROOT/%{_datadir}/gcc%{binsuffix}
|
||||
%endif
|
||||
%endif
|
||||
%endif
|
||||
|
||||
@ -676,7 +686,7 @@ rm -r env
|
||||
%if 0%{!?gcc_accel:1}
|
||||
mkdir -p %{buildroot}%{_sysconfdir}/alternatives
|
||||
for ex in gcc cpp \
|
||||
%if 0%{build_cp}
|
||||
%if %{build_cp}
|
||||
c++ g++ \
|
||||
%endif
|
||||
gcc-ar gcc-nm gcc-ranlib gcov gcov-dump gcov-tool; do
|
||||
@ -688,7 +698,7 @@ done
|
||||
%{_sbindir}/update-alternatives \
|
||||
--install %{_bindir}/%{gcc_target_arch}-gcc %{gcc_target_arch}-gcc %{_bindir}/%{gcc_target_arch}-gcc%{binsuffix} 7 \
|
||||
--slave %{_bindir}/%{gcc_target_arch}-cpp %{gcc_target_arch}-cpp %{_bindir}/%{gcc_target_arch}-cpp%{binsuffix} \
|
||||
%if 0%{build_cp}
|
||||
%if %{build_cp}
|
||||
--slave %{_bindir}/%{gcc_target_arch}-c++ %{gcc_target_arch}-c++ %{_bindir}/%{gcc_target_arch}-c++%{binsuffix} \
|
||||
--slave %{_bindir}/%{gcc_target_arch}-g++ %{gcc_target_arch}-g++ %{_bindir}/%{gcc_target_arch}-g++%{binsuffix} \
|
||||
%endif
|
||||
@ -737,13 +747,14 @@ fi
|
||||
%ghost %{_sysconfdir}/alternatives/%{gcc_target_arch}-gcov
|
||||
%ghost %{_sysconfdir}/alternatives/%{gcc_target_arch}-gcov-dump
|
||||
%ghost %{_sysconfdir}/alternatives/%{gcc_target_arch}-gcov-tool
|
||||
%if 0%{build_cp}
|
||||
%if %{build_cp}
|
||||
%{_prefix}/bin/%{gcc_target_arch}-c++%{binsuffix}
|
||||
%{_prefix}/bin/%{gcc_target_arch}-g++%{binsuffix}
|
||||
%{_prefix}/bin/%{gcc_target_arch}-c++
|
||||
%{_prefix}/bin/%{gcc_target_arch}-g++
|
||||
%ghost %{_sysconfdir}/alternatives/%{gcc_target_arch}-c++
|
||||
%ghost %{_sysconfdir}/alternatives/%{gcc_target_arch}-g++
|
||||
%{_prefix}/include/c++
|
||||
%endif
|
||||
%endif
|
||||
%dir %{targetlibsubdir}
|
||||
|
@ -178,12 +178,22 @@ export NO_BRP_STRIP_DEBUG=true
|
||||
export NO_DEBUGINFO_STRIP_DEBUG=true
|
||||
%define __debug_install_post %{nil}
|
||||
: >../debugfiles.list
|
||||
: >../debugsourcefiles.list
|
||||
: >../debugsources.list
|
||||
# We want shared libraries to reside in the sysroot but the .so symlinks
|
||||
# on the host. Once we have a cross target that has shared libs we need
|
||||
# to manually fix up things here like we do for non-cross compilers
|
||||
mkdir -p $RPM_BUILD_ROOT/%{?sysroot:%sysroot}
|
||||
make DESTDIR=$RPM_BUILD_ROOT install-target
|
||||
%if %{build_cp}
|
||||
# So we installed libstdc++ headers into %prefix where they conflict
|
||||
# with other host compilers. Rip out the non-target specific parts
|
||||
# again.
|
||||
find $RPM_BUILD_ROOT/%_prefix/include/c++/%{gcc_dir_version} -mindepth 1 -maxdepth 1 -type d -a -not -name %{gcc_target_arch} | xargs rm -r
|
||||
find $RPM_BUILD_ROOT/%_prefix/include/c++/%{gcc_dir_version} -maxdepth 1 -type f | xargs rm
|
||||
# And also remove installed pretty printers which conflict in similar ways
|
||||
rm -rf $RPM_BUILD_ROOT/%{_datadir}/gcc%{binsuffix}
|
||||
%endif
|
||||
%endif
|
||||
%endif
|
||||
|
||||
@ -255,7 +265,7 @@ rm -r env
|
||||
%if 0%{!?gcc_accel:1}
|
||||
mkdir -p %{buildroot}%{_sysconfdir}/alternatives
|
||||
for ex in gcc cpp \
|
||||
%if 0%{build_cp}
|
||||
%if %{build_cp}
|
||||
c++ g++ \
|
||||
%endif
|
||||
gcc-ar gcc-nm gcc-ranlib gcov gcov-dump gcov-tool; do
|
||||
@ -267,7 +277,7 @@ done
|
||||
%{_sbindir}/update-alternatives \
|
||||
--install %{_bindir}/%{gcc_target_arch}-gcc %{gcc_target_arch}-gcc %{_bindir}/%{gcc_target_arch}-gcc%{binsuffix} @base_ver@ \
|
||||
--slave %{_bindir}/%{gcc_target_arch}-cpp %{gcc_target_arch}-cpp %{_bindir}/%{gcc_target_arch}-cpp%{binsuffix} \
|
||||
%if 0%{build_cp}
|
||||
%if %{build_cp}
|
||||
--slave %{_bindir}/%{gcc_target_arch}-c++ %{gcc_target_arch}-c++ %{_bindir}/%{gcc_target_arch}-c++%{binsuffix} \
|
||||
--slave %{_bindir}/%{gcc_target_arch}-g++ %{gcc_target_arch}-g++ %{_bindir}/%{gcc_target_arch}-g++%{binsuffix} \
|
||||
%endif
|
||||
@ -316,13 +326,14 @@ fi
|
||||
%ghost %{_sysconfdir}/alternatives/%{gcc_target_arch}-gcov
|
||||
%ghost %{_sysconfdir}/alternatives/%{gcc_target_arch}-gcov-dump
|
||||
%ghost %{_sysconfdir}/alternatives/%{gcc_target_arch}-gcov-tool
|
||||
%if 0%{build_cp}
|
||||
%if %{build_cp}
|
||||
%{_prefix}/bin/%{gcc_target_arch}-c++%{binsuffix}
|
||||
%{_prefix}/bin/%{gcc_target_arch}-g++%{binsuffix}
|
||||
%{_prefix}/bin/%{gcc_target_arch}-c++
|
||||
%{_prefix}/bin/%{gcc_target_arch}-g++
|
||||
%ghost %{_sysconfdir}/alternatives/%{gcc_target_arch}-c++
|
||||
%ghost %{_sysconfdir}/alternatives/%{gcc_target_arch}-g++
|
||||
%{_prefix}/include/c++
|
||||
%endif
|
||||
%endif
|
||||
%dir %{targetlibsubdir}
|
||||
|
@ -1,3 +1,9 @@
|
||||
-------------------------------------------------------------------
|
||||
Mon Jan 15 12:24:39 UTC 2018 - rguenther@suse.com
|
||||
|
||||
- Handle new debug sources filelist variant debugsourcefiles.list.
|
||||
- Prune libstdc++ includes for crosses.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Jan 10 08:01:42 UTC 2018 - rguenther@suse.com
|
||||
|
||||
|
@ -1,3 +1,9 @@
|
||||
-------------------------------------------------------------------
|
||||
Mon Jan 15 12:24:39 UTC 2018 - rguenther@suse.com
|
||||
|
||||
- Handle new debug sources filelist variant debugsourcefiles.list.
|
||||
- Prune libstdc++ includes for crosses.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Jan 10 08:01:42 UTC 2018 - rguenther@suse.com
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user