Accepting request 210007 from home:uweigand:branches:devel:gcc
- gdb-ppc64le.patch: add support for powerpc64le-linux OBS-URL: https://build.opensuse.org/request/show/210007 OBS-URL: https://build.opensuse.org/package/show/devel:gcc/gdb?expand=0&rev=88
This commit is contained in:
1772
gdb-ppc64le.patch
Normal file
1772
gdb-ppc64le.patch
Normal file
File diff suppressed because it is too large
Load Diff
@@ -1,3 +1,8 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Mon Dec 9 14:16:53 UTC 2013 - uweigand@de.ibm.com
|
||||||
|
|
||||||
|
- gdb-ppc64le.patch: add support for powerpc64le-linux
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Fri Nov 15 12:08:19 UTC 2013 - rguenther@suse.com
|
Fri Nov 15 12:08:19 UTC 2013 - rguenther@suse.com
|
||||||
|
|
||||||
|
11
gdb.spec
11
gdb.spec
@@ -191,6 +191,7 @@ Patch104: gdb-rhel5-compat.patch
|
|||||||
Patch1002: gdb-6.6-buildid-locate-rpm-suse.patch
|
Patch1002: gdb-6.6-buildid-locate-rpm-suse.patch
|
||||||
Patch1004: gdb-ia64-tdep.patch
|
Patch1004: gdb-ia64-tdep.patch
|
||||||
Patch1005: gdb-aarch64-hw-break.patch
|
Patch1005: gdb-aarch64-hw-break.patch
|
||||||
|
Patch1006: gdb-ppc64le.patch
|
||||||
|
|
||||||
BuildRequires: ncurses-devel texinfo gettext flex bison glibc-devel zlib-devel
|
BuildRequires: ncurses-devel texinfo gettext flex bison glibc-devel zlib-devel
|
||||||
%if %{suse_version} < 1020
|
%if %{suse_version} < 1020
|
||||||
@@ -423,6 +424,7 @@ find -name "*.info*"|xargs rm -f
|
|||||||
%patch1002 -p1
|
%patch1002 -p1
|
||||||
%patch1004 -p1
|
%patch1004 -p1
|
||||||
%patch1005 -p0
|
%patch1005 -p0
|
||||||
|
%patch1006 -p1
|
||||||
|
|
||||||
find -name "*.orig" | xargs rm -f
|
find -name "*.orig" | xargs rm -f
|
||||||
! find -name "*.rej" # Should not happen.
|
! find -name "*.rej" # Should not happen.
|
||||||
@@ -461,12 +463,12 @@ fi
|
|||||||
if test -f /usr/%{_lib}/librpm.so.3; then
|
if test -f /usr/%{_lib}/librpm.so.3; then
|
||||||
export LIBRPM=librpm.so.3
|
export LIBRPM=librpm.so.3
|
||||||
fi
|
fi
|
||||||
%ifarch %ix86 ia64 ppc ppc64 s390 s390x x86_64
|
%ifarch %ix86 ia64 ppc ppc64 ppc64le s390 s390x x86_64
|
||||||
%define build_multitarget 1
|
%define build_multitarget 1
|
||||||
%else
|
%else
|
||||||
%define build_multitarget 0
|
%define build_multitarget 0
|
||||||
%endif
|
%endif
|
||||||
%define target_list i686 ia64 powerpc powerpc64 s390 s390x x86_64 arm aarch64 m68k
|
%define target_list i686 ia64 powerpc powerpc64 powerpc64le s390 s390x x86_64 arm aarch64 m68k
|
||||||
%define DIST %(echo '%distribution' | sed 's, /.*,,')
|
%define DIST %(echo '%distribution' | sed 's, /.*,,')
|
||||||
%if %build_multitarget
|
%if %build_multitarget
|
||||||
EXTRA_TARGETS="%(printf ,%%s-suse-linux %target_list)"
|
EXTRA_TARGETS="%(printf ,%%s-suse-linux %target_list)"
|
||||||
@@ -486,7 +488,7 @@ EXTRA_TARGETS=
|
|||||||
--with-system-gdbinit=%{_sysconfdir}/gdbinit \
|
--with-system-gdbinit=%{_sysconfdir}/gdbinit \
|
||||||
--with-gdb-datadir=%{_datadir}/gdb \
|
--with-gdb-datadir=%{_datadir}/gdb \
|
||||||
--enable-gdb-build-warnings=,-Wno-unused \
|
--enable-gdb-build-warnings=,-Wno-unused \
|
||||||
%ifnarch %{ix86} alpha ia64 ppc s390 s390x x86_64 ppc64 sparc sparcv9 sparc64
|
%ifnarch %{ix86} alpha ia64 ppc s390 s390x x86_64 ppc64 ppc64le sparc sparcv9 sparc64
|
||||||
--disable-werror \
|
--disable-werror \
|
||||||
%else
|
%else
|
||||||
%if %{suse_version} < 1110
|
%if %{suse_version} < 1110
|
||||||
@@ -784,6 +786,9 @@ cp -p %{SOURCE3} $RPM_BUILD_ROOT%{_mandir}/man1/gstack.1
|
|||||||
%ifnarch ppc ppc64
|
%ifnarch ppc ppc64
|
||||||
rm -f ppc{,64}-linux.xml
|
rm -f ppc{,64}-linux.xml
|
||||||
%endif
|
%endif
|
||||||
|
%ifnarch ppc64le
|
||||||
|
rm -f ppc64le-linux.xml
|
||||||
|
%endif
|
||||||
)
|
)
|
||||||
|
|
||||||
# It would break RHEL-5 by leaving excessive files for the doc subpackage.
|
# It would break RHEL-5 by leaving excessive files for the doc subpackage.
|
||||||
|
Reference in New Issue
Block a user