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;
        ^~~~~~~~~
This commit is contained in:
Piotr Kubaj 2023-06-30 00:43:17 +02:00
parent d577a766bf
commit b44cb8fae3

View file

@ -12,4 +12,6 @@ USES= libtool pathfix pkgconfig compiler:c++11-lib
USE_LDCONFIG= yes USE_LDCONFIG= yes
GNU_CONFIGURE= yes GNU_CONFIGURE= yes
CXXFLAGS+= -Dregister=
.include <bsd.port.mk> .include <bsd.port.mk>