1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-11 02:50:24 +00:00

databases/mysql-udf: fix build on powerpc(64) with clang

Error:
ld: error: relocation R_PPC64_TOC16_LO cannot be used against symbol compare_doubles(void const*, void const*); recompile with -fPIC
This commit is contained in:
Piotr Kubaj 2020-04-05 19:15:59 +00:00
parent bbd534b285
commit 3ddac067a7
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=530807

View File

@ -16,6 +16,8 @@ USES= mysql
CFLAGS_aarch64+=-fPIC
CFLAGS_amd64+= -fPIC
CFLAGS_i386+= -fPIC
CFLAGS_powerpc+=-fPIC
CFLAGS_powerpc64+= -fPIC
MODULES= colwidth confidence_higher confidence_lower correlation \
faculty geomean intercept kurtosis longest median noverm \