diff options
author | John Stebbins <[email protected]> | 2019-04-15 14:43:02 -0600 |
---|---|---|
committer | John Stebbins <[email protected]> | 2019-04-15 14:43:02 -0600 |
commit | 5eb62b92a06c10056c47420384c91f4828af47f9 (patch) | |
tree | e9c4d916927f9cf23f0fc6d43023b4be8473894e /make/configure.py | |
parent | a4e47ce22ecb65e2531074d0de933e21a5147702 (diff) |
configure: use stricter 'is not None'
Diffstat (limited to 'make/configure.py')
-rw-r--r-- | make/configure.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/make/configure.py b/make/configure.py index e9519422d..0c92f04e4 100644 --- a/make/configure.py +++ b/make/configure.py @@ -553,7 +553,7 @@ class HostTupleAction( Action, list ): def setHost( self, cross ): ## check if --cross spec was used; must maintain 5-tuple compatibility with regex - if cross: + if cross is not None: self.spec = os.path.basename( cross ).rstrip( '-' ) else: self.spec = build_tuple.spec @@ -583,7 +583,7 @@ class HostTupleAction( Action, list ): pass ## when cross we need switch for platforms - if cross: + if cross is not None: if self.match( '*mingw*' ): self.systemf = 'MinGW' elif self.systemf: |