diff options
author | Anton Kolesov <Anton.Kolesov@synopsys.com> | 2016-02-19 18:10:33 +0300 |
---|---|---|
committer | Waldemar Brodkorb <wbx@uclibc-ng.org> | 2016-02-24 22:17:10 +0100 |
commit | 36656f6dc23f5d0091f7a838b1885793a75e3b2f (patch) | |
tree | b502cd43077badc91ae54db6ec88ecc84f9f77e2 /extra/config/gconf.c | |
parent | f78f0bdec821793fd82734ee6e6c23cd6837e5d9 (diff) |
Advertise obstack only when chosen
This is similar to this patch for GNU glob:
ff6ce3999db93a52d1cd22510f8508b660ddf54e.
The problem is that libiberty/obstack.c file checks for
_GNU_OBSTACK_INTERFACE_VERSION == _OBSTACK_INTERFACE_VERSION and elides
libiberty obstack implementation if there is already a compatible
implementation in libc. Therefore define should be set only when obstack is
actually selected, otherwise it is not possible to build binutils and gdb
with uClibc.
Signed-off-by: Anton Kolesov <Anton.Kolesov@synopsys.com>
Cc: Vineet Gupta <Vineet.Gupta1@synopsys.com>
Cc: Alexey Brodkin <abrodkin@synopsys.com>
Diffstat (limited to 'extra/config/gconf.c')
0 files changed, 0 insertions, 0 deletions