svn commit: r530807 - head/databases/mysql-udf
Piotr Kubaj
pkubaj at FreeBSD.org
Sun Apr 5 19:16:02 UTC 2020
Author: pkubaj
Date: Sun Apr 5 19:15:59 2020
New Revision: 530807
URL: https://svnweb.freebsd.org/changeset/ports/530807
Log:
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
Modified:
head/databases/mysql-udf/Makefile
Modified: head/databases/mysql-udf/Makefile
==============================================================================
--- head/databases/mysql-udf/Makefile Sun Apr 5 19:07:57 2020 (r530806)
+++ head/databases/mysql-udf/Makefile Sun Apr 5 19:15:59 2020 (r530807)
@@ -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 \
More information about the svn-ports-all
mailing list