databases/mariadb101-server: fix build on powerpc64 elfv2
Like other SQL servers, this port fails to build due to Clang bug: Wrong types for attribute: inalloca nest noalias nocapture nonnull readnone readonly signext sret zeroext byval dereferenceable(1) dereferenceable_or_null(1) %call54 = call signext i32 @my_atomic_cas32(i32* %62, i32* %64, %union.U_32 signext %65) in function lf_hash_insert fatal error: error in backend: Broken function found, compilation aborted!
This commit is contained in:
parent
a111987dc1
commit
dc316315a8
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=528843
@ -28,7 +28,7 @@ LICENSE_PERMS_PerconaFT= dist-mirror dist-sell pkg-mirror pkg-sell auto-accept
|
||||
|
||||
SUB_FILES= pkg-message
|
||||
|
||||
USES= bison:build cmake:insource,noninja compiler:c++11-lib cpe libedit ncurses \
|
||||
USES= bison:build cmake:insource,noninja cpe libedit ncurses \
|
||||
shebangfix ssl
|
||||
USE_LDCONFIG= ${PREFIX}/lib/mysql
|
||||
SHEBANG_FILES= scripts/*.sh
|
||||
@ -163,6 +163,12 @@ SUB_LIST+= LEGACY_LIMITS="@comment " MODERN_LIMITS=""
|
||||
SUB_LIST+= LEGACY_LIMITS="" MODERN_LIMITS="@comment "
|
||||
.endif
|
||||
|
||||
.if defined(PPC_ABI) && ${PPC_ABI} == ELFv2
|
||||
USES+= compiler:gcc-c++11-lib
|
||||
.else
|
||||
USES+= compiler:c++11-lib
|
||||
.endif
|
||||
|
||||
.include <bsd.port.pre.mk>
|
||||
|
||||
.if ${SSL_DEFAULT} != base && ${PORT_OPTIONS:MGSSAPI_BASE}
|
||||
|
Loading…
Reference in New Issue
Block a user