From 3ddac067a7f2db892435bb271d7e8eaaecde1f7e Mon Sep 17 00:00:00 2001 From: Piotr Kubaj Date: Sun, 5 Apr 2020 19:15:59 +0000 Subject: [PATCH] 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 --- databases/mysql-udf/Makefile | 2 ++ 1 file changed, 2 insertions(+) diff --git a/databases/mysql-udf/Makefile b/databases/mysql-udf/Makefile index c7155a8af691..1f35a7f672ed 100644 --- a/databases/mysql-udf/Makefile +++ b/databases/mysql-udf/Makefile @@ -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 \