Accepting request 460022 from home:rguenther:hw15
- Add dwz-0.12-ignore-nobits.patch to ignore SHT_NOBITS sections that are placed out-of-order by objcopy when extracting debuginfo and place them at sh_offset zero. OBS-URL: https://build.opensuse.org/request/show/460022 OBS-URL: https://build.opensuse.org/package/show/devel:tools:compiler/dwz?expand=0&rev=5
This commit is contained in:
10
dwz.spec
10
dwz.spec
@@ -1,7 +1,7 @@
|
||||
#
|
||||
# spec file for package dwz
|
||||
#
|
||||
# Copyright (c) 2012 openSUSE
|
||||
# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany.
|
||||
#
|
||||
# All modifications and additions to the file contributed by third parties
|
||||
# remain the property of their copyright owners, unless otherwise agreed
|
||||
@@ -12,9 +12,13 @@
|
||||
# license that conforms to the Open Source Definition (Version 1.9)
|
||||
# published by the Open Source Initiative.
|
||||
|
||||
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
||||
#
|
||||
|
||||
|
||||
Name: dwz
|
||||
Version: 0.12
|
||||
Release: 1
|
||||
Release: 0
|
||||
Summary: DWARF optimization and duplicate removal tool
|
||||
License: GPL-2.0+ and LGPL-2.0+
|
||||
Group: Development/Tools/Building
|
||||
@@ -22,6 +26,7 @@ Group: Development/Tools/Building
|
||||
#Git-Clone: git://sourceware.org/git/dwz
|
||||
#Git-Web: https://sourceware.org/git/?p=dwz.git;a=summary
|
||||
Source: %name-%version.tar.xz
|
||||
Patch: dwz-0.12-ignore-nobits.patch
|
||||
BuildRequires: libelf-devel
|
||||
BuildRequires: xz
|
||||
|
||||
@@ -45,6 +50,7 @@ is needed.
|
||||
|
||||
%prep
|
||||
%setup -qn %name
|
||||
%patch -p1
|
||||
|
||||
%build
|
||||
make %{?_smp_mflags} CFLAGS="%optflags"
|
||||
|
Reference in New Issue
Block a user