We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents a64840e + b8b3589 commit c0a82baCopy full SHA for c0a82ba
src/tbb/build/macos.inc
@@ -40,10 +40,14 @@ ifndef arch
40
export arch:=ppc32
41
endif
42
else
43
- ifeq ($(shell /usr/sbin/sysctl -n hw.optional.x86_64 2>/dev/null),1)
44
- export arch:=intel64
+ ifeq ($(shell /usr/sbin/sysctl -n hw.machine),arm64)
+ export arch:=arm64
45
46
- export arch:=ia32
+ ifeq ($(shell /usr/sbin/sysctl -n hw.optional.x86_64 2>/dev/null),1)
47
+ export arch:=intel64
48
+ else
49
+ export arch:=ia32
50
+ endif
51
52
53
0 commit comments