···51 patches = [
52 # add aarch64 support to cpu-check.m4. copied from redhat.
53 ./redhat-aarch64.patch
00000054 ] ++ lib.optionals enableDocs [
55 # singular supports building without 4ti2, bertini, normaliz or
56 # topcom just fine, but the docbuilding does not skip manual pages
···51 patches = [
52 # add aarch64 support to cpu-check.m4. copied from redhat.
53 ./redhat-aarch64.patch
54+55+ # the newest version of ax-prog-cc-for-build.m4 seems to trigger
56+ # linker errors. see
57+ # https://github.com/alsa-project/alsa-firmware/issues/3 for a
58+ # related issue.
59+ ./use-older-ax-prog-cc-for-build.patch
60 ] ++ lib.optionals enableDocs [
61 # singular supports building without 4ti2, bertini, normaliz or
62 # topcom just fine, but the docbuilding does not skip manual pages