diff options
Diffstat (limited to 'var/spack/repos/builtin/packages/findutils/package.py')
-rw-r--r-- | var/spack/repos/builtin/packages/findutils/package.py | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/var/spack/repos/builtin/packages/findutils/package.py b/var/spack/repos/builtin/packages/findutils/package.py index d529bf8147..eefa00783c 100644 --- a/var/spack/repos/builtin/packages/findutils/package.py +++ b/var/spack/repos/builtin/packages/findutils/package.py @@ -51,6 +51,11 @@ class Findutils(AutotoolsPackage, GNUMirrorPackage): patch('nvhpc.patch', when='@4.6.0 %nvhpc') # Workaround bug where __LONG_WIDTH__ is not defined patch('nvhpc-long-width.patch', when='@4.8.0:4.8 %nvhpc') + # Auto-detecting whether `__attribute__((__nonnull__(...)))` is supported + # does not work for GCC on macOS + # <https://savannah.gnu.org/bugs/?func=detailitem&item_id=59972>; we thus + # disable this attribute manually + patch('nonnull.patch') build_directory = 'spack-build' |