mirror of
https://github.com/crosstool-ng/crosstool-ng.git
synced 2025-03-22 12:05:21 +00:00
Shut clang's warning that confuses configure.
Warning causes gdb's configure to not detect <limit.h> declarations of LONG_MIN/MAX. Found-by: Kirill Smirnov <kirill.k.smirnov@gmail.com> Signed-off-by: Alexey Neyman <stilor@att.net>
This commit is contained in:
parent
25bc99f4d0
commit
4a138d8407
@ -105,6 +105,12 @@ do_debug_gdb_build() {
|
||||
CC_for_gdb+=" -static"
|
||||
LD_for_gdb+=" -static"
|
||||
fi
|
||||
case "${CT_HOST}" in
|
||||
*darwin*)
|
||||
# FIXME: Really, we should be testing for host compiler being clang.
|
||||
CC_for_gdb+=" -Qunused-arguments"
|
||||
;;
|
||||
esac
|
||||
|
||||
# Fix up whitespace. Some older GDB releases (e.g. 6.8a) get confused if there
|
||||
# are multiple consecutive spaces: sub-configure scripts replace them with a
|
||||
|
Loading…
x
Reference in New Issue
Block a user