mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-27 00:57:50 +00:00
databases/mysqlwsrep57-server: fix build on GCC architectures
Builds with GCC10 also need -fcommon.
This commit is contained in:
parent
007c0ccf1e
commit
6e5e33827d
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=563096
@ -188,7 +188,7 @@ CXXFLAGS+= -Wno-c++11-narrowing
|
||||
|
||||
# Plugin innodb_memcached requires -fcommon to avoid duplicate symbol linker
|
||||
# error with llmv11.
|
||||
.if ${CHOSEN_COMPILER_TYPE} == clang && ${OPSYS} == FreeBSD && ${OSVERSION} >= 1300109
|
||||
.if (${OPSYS} == FreeBSD && ${OSVERSION} >= 1300109) || ${CHOSEN_COMPILER_TYPE} == gcc
|
||||
CFLAGS+= -fcommon
|
||||
.endif
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user