mirror of
https://github.com/crosstool-ng/crosstool-ng.git
synced 2024-12-19 04:47:52 +00:00
Merge pull request #635 from stilor/macos-skip-locales
Skip locales on macos
This commit is contained in:
commit
bfcc1e112a
@ -102,6 +102,11 @@ do_debug_gdb_build() {
|
||||
# FIXME: Really, we should be testing for host compiler being clang.
|
||||
CC_for_gdb+=" -Qunused-arguments"
|
||||
CXX_for_gdb+=" -Qunused-arguments"
|
||||
# clang detects the line from gettext's _ macro as format string
|
||||
# not being a string literal and produces a lot of warnings - which
|
||||
# ct-ng's logger faithfully relays to user if this happens in the
|
||||
# error() function. Suppress them.
|
||||
cross_extra_config+=( "--enable-build-warnings=,-Wno-format-nonliteral,-Wno-format-security" )
|
||||
;;
|
||||
esac
|
||||
|
||||
|
@ -541,7 +541,7 @@ do_libc_locales() {
|
||||
# To build locales, we'd need to build glibc for the build machine.
|
||||
# Bail out if the host is not supported.
|
||||
case "${CT_BUILD}" in
|
||||
*-cygwin)
|
||||
*-cygwin|*-darwin*)
|
||||
CT_DoLog EXTRA "Skipping GNU libc locales: incompatible build machine"
|
||||
return
|
||||
;;
|
||||
|
Loading…
Reference in New Issue
Block a user