]> sourceware.org Git - dwz.git/commit
Fix build on debian 7
authorTom de Vries <tdevries@suse.de>
Tue, 9 Jul 2019 09:02:59 +0000 (11:02 +0200)
committerTom de Vries <tdevries@suse.de>
Tue, 9 Jul 2019 09:02:59 +0000 (11:02 +0200)
commit9b7220fe63e61341e85b70a3c28f5402c82d3d12
treede15759ef9d42496211ad32d711e0227cc1c6e2e
parent13ca6798a401172850795b0c5267424db3c034fc
Fix build on debian 7

On debian 7, we run into:
...
dwz.c: In function ‘read_dwarf’:
dwz.c:10211:34: error: ‘SHF_COMPRESSED’ undeclared
...

Glibc defines SHF_COMPRESSED starting v2.22, and libelf has a fallback
definition starting v0.166, which are both not present here.

Fix this by adding a fallback definition in dwz.c.

2019-07-09  Tom de Vries  <tdevries@suse.de>

* dwz.c (SHF_COMPRESSED): Define if not defined.
dwz.c
This page took 0.024697 seconds and 5 git commands to generate.