File tree Expand file tree Collapse file tree 1 file changed +15
-2
lines changed Expand file tree Collapse file tree 1 file changed +15
-2
lines changed Original file line number Diff line number Diff line change @@ -355,6 +355,9 @@ case "$host" in
355
355
platform_ios=yes
356
356
has_dtrace=no
357
357
;;
358
+ aarch64*-darwinmacos*)
359
+ support_boehm=no
360
+ ;;
358
361
aarch64*-darwin*)
359
362
platform_ios=yes
360
363
;;
@@ -3434,6 +3437,16 @@ case "$host" in
3434
3437
ACCESS_UNALIGNED="no"
3435
3438
CPPFLAGS="$CPPFLAGS -D__ARM_EABI__"
3436
3439
;;
3440
+ aarch64-*-darwinmacos*)
3441
+ TARGET_SYS=MACOS
3442
+ TARGET=ARM64
3443
+ arch_target=arm64
3444
+ boehm_supported=false
3445
+ AOT_SUPPORTED="yes"
3446
+ BTLS_SUPPORTED=yes
3447
+ BTLS_PLATFORM=aarch64
3448
+ AC_CHECK_HEADER ( stdalign.h ,[ ] ,[ BTLS_SUPPORTED=no] )
3449
+ ;;
3437
3450
aarch64-*)
3438
3451
# https://lkml.org/lkml/2012/7/15/133
3439
3452
TARGET=ARM64
@@ -3727,8 +3740,8 @@ if test "x$target_mach" = "xyes"; then
3727
3740
CPPFLAGS_FOR_LIBGC="$CPPFLAGS_FOR_LIBGC -DTARGET_WATCHOS"
3728
3741
CFLAGS_FOR_LIBGC="$CFLAGS_FOR_LIBGC -DTARGET_WATCHOS"
3729
3742
BTLS_SUPPORTED=no
3730
- elif test "x$TARGET" = "xARM" -o "x$TARGET" = "xARM64"; then
3731
- AC_DEFINE ( TARGET_IOS ,1 ,[ The JIT/AOT targets iOS] )
3743
+ elif test "x$TARGET" = "xARM" -o "x$TARGET" = "xARM64" -a "x$TARGET_SYS" != "xMACOS" ; then
3744
+ AC_DEFINE ( TARGET_IOS ,1 ,[ The JIT/AOT targets iOS] )
3732
3745
CPPFLAGS_FOR_LIBGC="$CPPFLAGS_FOR_LIBGC -DTARGET_IOS"
3733
3746
CFLAGS_FOR_LIBGC="$CFLAGS_FOR_LIBGC -DTARGET_IOS"
3734
3747
BTLS_SUPPORTED=no
You can’t perform that action at this time.
0 commit comments