summaryrefslogtreecommitdiffstats
path: root/make
diff options
context:
space:
mode:
authorBradley Sepos <[email protected]>2020-08-01 09:23:25 -0400
committerDamiano Galassi <[email protected]>2020-08-05 12:32:23 +0200
commitffe471d69837ac9ca8b1a83b565e50e9e60efd78 (patch)
tree67930fc2fa6a77b25ef2a5d50dc4d31b901572f9 /make
parent36ed8f5592e1cd54fff41ce3756dc7ac1b9254a6 (diff)
build: make: Use proper comparison operator in configure.py.
Diffstat (limited to 'make')
-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: