aboutsummaryrefslogtreecommitdiff
path: root/circuitpython/mpy-cross/Makefile.m1
blob: 34e9841540070252d59744f4d60dc11727fca6a7 (plain)
1
2
3
4
5
6
7
8
9
10
# SPDX-FileCopyrightText: 2014 MicroPython & CircuitPython contributors (https://github.com/adafruit/circuitpython/graphs/contributors)
#
# SPDX-License-Identifier: MIT

PROG=mpy-cross-arm64
BUILD=build-arm64

include mpy-cross.mk
# Because mpy-cross.mk unconditionally overwrites CC for Darwin, we must set it BELOW the inclusion
CC := $(shell xcrun --sdk macosx11.1 --find clang) -isysroot $(shell xcrun --sdk macosx11.1 --show-sdk-path) -target arm64-apple-macos11