mirror of
https://github.com/jart/cosmopolitan.git
synced 2025-01-31 03:27:39 +00:00
6ab01716ce
We now store values in jmp_buf where the compiler wants them to be. This fixes code that calls __builtin_setjmp() and __builtin_longjmp() such as libunwind. All libcxxabi tests are now passing on ARM64. See #1076
8 lines
149 B
Bash
Executable file
8 lines
149 B
Bash
Executable file
#!/bin/sh
|
|
UNAMEM=$(uname -m)
|
|
UNAMES=$(uname -s)
|
|
if [ x"$UNAMES" = x"Darwin" ] && [ x"$UNAMEM" = x"arm64" ]; then
|
|
exec ape "$@"
|
|
else
|
|
exec "$@"
|
|
fi
|