diff options
Diffstat (limited to 'numpy/core/setup.py')
-rw-r--r-- | numpy/core/setup.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/numpy/core/setup.py b/numpy/core/setup.py index 3e1556699..a0b2f6484 100644 --- a/numpy/core/setup.py +++ b/numpy/core/setup.py @@ -180,7 +180,7 @@ def check_math_capabilities(config, moredefs, mathlibs): moredefs.append((fname2def(fn), 1)) for fn in OPTIONAL_VARIABLE_ATTRIBUTES: - if config.check_compile_without_warning('int %s a;' % (fn)): + if config.check_gcc_variable_attribute(fn): m = fn.replace("(", "_").replace(")", "_") moredefs.append((fname2def(m), 1)) |