History

On Big Sur M1, force a x86_64 native build and count on Rosetta to make job as arm64 is not yet supported.

Christian Jullien committed 5 years ago

Commit ab13f1a1 parent 6e76d891 file · +9 −0Browse files

Unified · Split

configure+9−0
@@ -60,6 +60,15 @@ case $targetos in · 59 unmodified lines
60 cc=`readlink $cc || echo clang`60 cc=`readlink $cc || echo clang`
61 tcc_usrinclude="`xcrun --show-sdk-path`/usr/include"61 tcc_usrinclude="`xcrun --show-sdk-path`/usr/include"
62 DLLSUF=".dylib"62 DLLSUF=".dylib"
63 case $cpu in
64 arm64)
65 # We cannot yet build a native arm64 version,
66 # Use x86_64 and count on Rosetta to make the job.
67 cpu=x86_64
68 CFLAGS="$CFLAGS -arch $cpu"
69 LDFLAGS="$LDFLAGS -arch $cpu"
70 ;;
71 esac
63 ;;72 ;;
64 Windows_NT|MINGW*|MSYS*|CYGWIN*)73 Windows_NT|MINGW*|MSYS*|CYGWIN*)
65 mingw32=yes74 mingw32=yes

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t