diff options
author | Piotr Kubaj <pkubaj@FreeBSD.org> | 2023-06-29 22:43:17 +0000 |
---|---|---|
committer | Piotr Kubaj <pkubaj@FreeBSD.org> | 2023-06-29 22:44:47 +0000 |
commit | b44cb8fae39643f9b876b4896021cad23dbd1acf (patch) | |
tree | 42a0fe46353ecb5d188c47b6b5e173c32603bb2b | |
parent | d577a766bf987adf42e24b8a4de62cf23357383a (diff) | |
download | ports-b44cb8fae39643f9b876b4896021cad23dbd1acf.tar.gz ports-b44cb8fae39643f9b876b4896021cad23dbd1acf.zip |
math/wfmath: fix build with llvm 16
./MersenneTwister.h:211:2: error: ISO C++17 does not allow 'register' storage class specifier [-Wregister]
register uint32 s1;
^~~~~~~~~
-rw-r--r-- | math/wfmath/Makefile | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/math/wfmath/Makefile b/math/wfmath/Makefile index f5ec3ddc8966..31ec520aaa6e 100644 --- a/math/wfmath/Makefile +++ b/math/wfmath/Makefile @@ -12,4 +12,6 @@ USES= libtool pathfix pkgconfig compiler:c++11-lib USE_LDCONFIG= yes GNU_CONFIGURE= yes +CXXFLAGS+= -Dregister= + .include <bsd.port.mk> |