diff options
| author | Charles Harris <charlesr.harris@gmail.com> | 2022-04-25 19:01:33 -0600 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2022-04-25 19:01:33 -0600 |
| commit | fd646bd693400ce408566674f266407672248cad (patch) | |
| tree | f21f25df6be9bfd7091655a79d61c9173c926cf2 | |
| parent | 53b3a42c13b2c9755f88d92a35a3786ca0f0deb4 (diff) | |
| parent | 96bafc9142b4c0671d8dc5b5c2e2dac841d9a789 (diff) | |
| download | numpy-fd646bd693400ce408566674f266407672248cad.tar.gz | |
Merge pull request #21392 from jmgurney/main
BUG: add linux guard per #21386
| -rw-r--r-- | numpy/core/src/common/npy_cpu_features.c.src | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/numpy/core/src/common/npy_cpu_features.c.src b/numpy/core/src/common/npy_cpu_features.c.src index ff4f9f60a..602eda57a 100644 --- a/numpy/core/src/common/npy_cpu_features.c.src +++ b/numpy/core/src/common/npy_cpu_features.c.src @@ -579,7 +579,9 @@ npy__cpu_init_features_arm8(void) #include <stdio.h> #include "npy_cpuinfo_parser.h" +#if defined(__linux__) __attribute__((weak)) unsigned long getauxval(unsigned long); // linker should handle it +#endif #ifdef __FreeBSD__ __attribute__((weak)) int elf_aux_info(int, void *, int); // linker should handle it |
