diff options
-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: |