summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--make/configure.py8
1 files changed, 4 insertions, 4 deletions
diff --git a/make/configure.py b/make/configure.py
index 188723b53..97668adc7 100644
--- a/make/configure.py
+++ b/make/configure.py
@@ -530,8 +530,8 @@ class BuildTupleProbe( ShellProbe, list ):
## special mapping for Apple Silicon
## config.guess returns aarch64, we need arm64
- if self.vendor is 'apple' and self.system is 'darwin':
- if self.machine is 'aarch64':
+ if self.vendor == 'apple' and self.system == 'darwin':
+ if self.machine == 'aarch64':
self[0] = self.machine = 'arm64'
## nice formal name for 'system'
@@ -583,8 +583,8 @@ class HostTupleAction( Action, list ):
## special mapping for Apple Silicon
## config.guess returns aarch64, we need arm64
- if self.vendor is 'apple' and self.system is 'darwin':
- if self.machine is 'aarch64':
+ if self.vendor == 'apple' and self.system == 'darwin':
+ if self.machine == 'aarch64':
self[0] = self.machine = 'arm64'
try: