diff options
author | Kirill Smirnov <kirill.k.smirnov@gmail.com> | 2016-09-09 15:13:23 +0300 |
---|---|---|
committer | Kirill K. Smirnov <kirill.k.smirnov@gmail.com> | 2016-09-09 21:25:53 +0300 |
commit | 5d5465307b8dac17855d6fe74653fe634144f91b (patch) | |
tree | 092a01187aad3085dcd62e180d979ecaf42a7ac8 /patches/binutils/2.27/340-Darwin-gold-binary-cc-include-string-not-cstring.patch | |
parent | 3a36f30ad7f6c9ceac205f5eb189cb74922392a9 (diff) | |
download | crosstool-ng-5d5465307b8dac17855d6fe74653fe634144f91b.tar.gz crosstool-ng-5d5465307b8dac17855d6fe74653fe634144f91b.tar.bz2 crosstool-ng-5d5465307b8dac17855d6fe74653fe634144f91b.zip |
debug/gdb: properly link with expat
This patch fixes libexpat detection for gdb-native and
gdb-cross static builds.
For gdb-native build configure should not touch system
/usr/{lib,include} directories while looking for libexpat.
To fix this we pass --without-libexpat-prefix flag
to configure script.
For gdb-cross build configure is allowed to investigate
system /usr/{lib,include} directories, but it does not
hurt to disable this behavior. In this case configure
falls back to -lexpat, which works as expected.
For more info:
http://marc.info/?l=gnulib-bug&m=129660262901148&w=2
Signed-off-by: Kirill Smirnov <kirill.k.smirnov@gmail.com>
Diffstat (limited to 'patches/binutils/2.27/340-Darwin-gold-binary-cc-include-string-not-cstring.patch')
0 files changed, 0 insertions, 0 deletions