From f65c69f65692ccff9936590236c0ab77d60cbeed Mon Sep 17 00:00:00 2001 From: Wolfgang Thaller Date: Sat, 7 Oct 2017 21:38:09 +0200 Subject: [PATCH] newlib now has a threads.h header file, which conflicts with Apple's Threads.h on case-insensitive file systems. Suppress it. It doesn't work anyway, as we would need to supply at least a platform-specific machine/_threads.h for it. --- build-toolchain.bash | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/build-toolchain.bash b/build-toolchain.bash index 1ec3f849b4..00b8b4903a 100755 --- a/build-toolchain.bash +++ b/build-toolchain.bash @@ -383,6 +383,10 @@ sh "$SRC/prepare-rincludes.sh" "$RINCLUDES" "toolchain/RIncludes" # and link files from toolchain/CIncludes function linkheaders() { + # incompatible with Universal Interfaces on case-insensitive file systems + # (and does not currently work anyways) + rm -f "$1"/threads.h + # the following command doesn't work on older Mac OS X versions. # allow it to fail quietly, at worst we leave some dangling symlinks around # in the rare situation that headers are removed from the input directory