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:
parent
d577a766bf
commit
b44cb8fae3
@ -12,4 +12,6 @@ USES= libtool pathfix pkgconfig compiler:c++11-lib
|
||||
USE_LDCONFIG= yes
|
||||
GNU_CONFIGURE= yes
|
||||
|
||||
CXXFLAGS+= -Dregister=
|
||||
|
||||
.include <bsd.port.mk>
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user