1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-04 01:48:54 +00:00
freebsd-ports/misc/bb
Piotr Kubaj 91a4c28de9 misc/bb: fix building on non-x86
regparm is strictly i386, but clang allows it on amd64.

Building on other architectures fails with:
In file included from zoom.c:56:
In file included from ./zoom.h:30:
./formulas.h:53:63: error: 'regparm' is not valid on this platform
    int (*calculate) (number_t, number_t, number_t, number_t) REGISTERS(3);
                                                              ^         ~
./config.h:42:38: note: expanded from macro 'REGISTERS'

GCC builts in just fine.
2021-10-22 11:42:44 +00:00
..
files
distinfo
Makefile misc/bb: fix building on non-x86 2021-10-22 11:42:44 +00:00
pkg-descr