1

fix darwin include targets; target macos 10

This commit is contained in:
Motiejus Jakštys 2021-12-07 12:46:52 +02:00
parent 93bb7451f2
commit 2ee3c32780

View File

@ -62,9 +62,11 @@ def _target_darwin(gocpu, zigcpu):
zigtarget = "{}-macos-gnu".format(zigcpu),
includes = [
"libunwind/include",
"libc/include/any-macos-any",
# FIXME: add macos.10, macos.11 and macos.12 targets,
# and adjust the includes
"libc/include/{}-macos.10-gnu".format(zigcpu),
"libc/include/{}-macos-any".format(zigcpu),
"libc/include/{}-macos-gnu".format(zigcpu),
"libc/include/any-macos-any",
],
linkopts = [],
copts = DEFAULT_COPTS,