diff options
author | David Cournapeau <cournape@gmail.com> | 2014-07-06 17:17:41 +0900 |
---|---|---|
committer | David Cournapeau <cournape@gmail.com> | 2014-07-06 17:17:41 +0900 |
commit | 4769fe79bb5c2d4649fa2845009a0ceae94524c2 (patch) | |
tree | ba1231d72d55aaec332b51da3e996c0364bdccd4 /numpy/core/setup.py | |
parent | 66c792b0e2c3ba68e844e92770f312074ed9bc4a (diff) | |
download | numpy-4769fe79bb5c2d4649fa2845009a0ceae94524c2.tar.gz |
FEAT: add check_gcc_function_attribute check.
Diffstat (limited to 'numpy/core/setup.py')
-rw-r--r-- | numpy/core/setup.py | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/numpy/core/setup.py b/numpy/core/setup.py index 5da042413..2c5f999d9 100644 --- a/numpy/core/setup.py +++ b/numpy/core/setup.py @@ -176,8 +176,7 @@ def check_math_capabilities(config, moredefs, mathlibs): moredefs.append((fname2def(f), 1)) for dec, fn in OPTIONAL_FUNCTION_ATTRIBUTES: - if config.check_func(fn, decl='int %s %s(void *);' % (dec, fn), - call=False): + if config.check_gcc_function_attribute(dec, fn): moredefs.append((fname2def(fn), 1)) for fn in OPTIONAL_VARIABLE_ATTRIBUTES: |