diff options
author | Piotr Kubaj <pkubaj@FreeBSD.org> | 2021-10-22 11:42:44 +0000 |
---|---|---|
committer | Piotr Kubaj <pkubaj@FreeBSD.org> | 2021-10-22 11:42:44 +0000 |
commit | 91a4c28de9dc90927ba0acc201c6c1577f4fde0c (patch) | |
tree | a8f8013874140fa77090faab970c34f8feba1e0a /lang | |
parent | ab467871db4051ab0162256fccdfe872ae40b959 (diff) | |
download | ports-91a4c28de9dc90927ba0acc201c6c1577f4fde0c.tar.gz ports-91a4c28de9dc90927ba0acc201c6c1577f4fde0c.zip |
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.
Diffstat (limited to 'lang')
0 files changed, 0 insertions, 0 deletions