bazel-contrib / musl-toolchain

Apache License 2.0
15 stars 2 forks source link

Build macOS from a case-sensitive volume #35

Closed illicitonion closed 4 months ago

illicitonion commented 4 months ago

There are several files, e.g.

x86_64-linux-musl/include/linux/netfilter_ipv4/ipt_ttl.h
x86_64-linux-musl/include/linux/netfilter_ipv4/ipt_TTL.h

which differ only in case. If we build on a case-insensitive filesystem, one of these gets arbitrarily added to the tar, rather than both.

This ensures both files end up in the generated tar.

It's the user's responsibility to make sure the filesystem they untar to can handle this (i.e. is case-sensitive) if they care for both files to exist on their disk.