1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-19 00:13:33 +00:00

x11/cde-devel: Address multiple build failures with LLVM16

/usr/local/include/Xm/Xm.h:1516:25: error: ISO C++17 does not allow 'register' storage class specifier [-Wregister]
                        register int to_type) ;
                        ^~~~~~~~~
This commit is contained in:
Cy Schubert 2023-06-26 06:26:35 -07:00
parent 364deb4e3a
commit 381940e6fc

View File

@ -64,6 +64,7 @@ MAKE_ARGS+= PERL=${PERL} "LOCAL_LDFLAGS=${LDFLAGS}"
MAKE_JOBS_UNSAFE=yes MAKE_JOBS_UNSAFE=yes
MAKE_ENV= MALLOC_CONF=junk:false MAKE_ENV= MALLOC_CONF=junk:false
SUB_FILES= pkg-message SUB_FILES= pkg-message
CFLAGS+= -Wno-register -Wno-incompatible-function-pointer-types
LDFLAGS+= -z muldefs #--allow-multiple-definition LDFLAGS+= -z muldefs #--allow-multiple-definition
pre-configure: pre-configure: