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.
1 parent 8060e82 commit 7e37525Copy full SHA for 7e37525
mesonpy/__init__.py
@@ -686,8 +686,8 @@ def __init__(
686
687
# setuptools-like ARCHFLAGS environment variable support
688
if sysconfig.get_platform().startswith('macosx-'):
689
- archflags = self._env.get('ARCHFLAGS')
690
- if archflags is not None:
+ archflags = self._env.get('ARCHFLAGS', '').strip()
+ if archflags:
691
arch, *other = filter(None, (x.strip() for x in archflags.split('-arch')))
692
if other:
693
raise ConfigError(f'Multi-architecture builds are not supported but $ARCHFLAGS={archflags!r}')
0 commit comments