summaryrefslogtreecommitdiffstats
path: root/package/php/php.hash
diff options
context:
space:
mode:
authorThomas Petazzoni <thomas.petazzoni@free-electrons.com>2016-12-09 00:00:38 +0100
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>2016-12-09 00:04:36 +0100
commit0018d7d6ba436a59875328fb3f372aff1888bff8 (patch)
tree0518f72ee5f2bfcad81402fcc8a786f5772d8f91 /package/php/php.hash
parenta27f8c80462b3f28b741b5d3a57f3346a2321252 (diff)
downloadbuildroot-0018d7d6ba436a59875328fb3f372aff1888bff8.tar.gz
buildroot-0018d7d6ba436a59875328fb3f372aff1888bff8.zip
rpm: add patches to fix bfd.h related build issues
This commit adds two patches to the rpm package to fix two separate but related build issues: - The first patch fixes a build that occurs when rpm is built after elfutils, but without binutils. In this case, dwarf.h is present, so rpm enables the build of a number of additional tools. But one of them uses bfd.h, provided by binutils, without checking for its existence. So the first patch fixes that by checking for bfd.h existence before enabling the tool. Fixes: http://autobuild.buildroot.net/results/810/810e24cab65f67d143da29c78c0f89d37a851cd7/build-end.log - The second patch fixes a build issue that occurs when rpm is built after both dwarf and binutils. In this case, bfd.h complains because config.h is not included. That's a weird and silly issue in bfd.h that the binutils developers don't want to fix, and you have to define PACKAGE or PACKAGE_VERSION before including bfd.h to use it outside of binutils. Fixes: http://autobuild.buildroot.net/results/362/362502f89631c9ba1d71906527674657ccff01ed/build-end.log Thanks a lot to James Knight <james.knight@rockwellcollins.com> for the initial investigation about the first issue. Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Diffstat (limited to 'package/php/php.hash')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud