diff options
author | David Cournapeau <cournape@gmail.com> | 2014-07-07 21:16:30 +0900 |
---|---|---|
committer | David Cournapeau <cournape@gmail.com> | 2014-07-07 21:38:31 +0900 |
commit | 8a1496df7ad58936a8f9ff929ff629f3d38f51d8 (patch) | |
tree | 765ebbe09dc2ee34575b2e04e6b2318e7be00f29 /numpy/core/setup.py | |
parent | 9cede2744726c77b65839396aaad7c99e5435bc0 (diff) | |
download | numpy-8a1496df7ad58936a8f9ff929ff629f3d38f51d8.tar.gz |
FEAT: add a check_gcc_variable_attribute function in config command.
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)) |