git: caf3d8d57789 - 2022Q3 - databases/mysql-udf: always add -fPIC
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Fri, 05 Aug 2022 05:38:19 UTC
The branch 2022Q3 has been updated by fernape:
URL: https://cgit.FreeBSD.org/ports/commit/?id=caf3d8d577894b54a16dbb98f2ab618bca156202
commit caf3d8d577894b54a16dbb98f2ab618bca156202
Author: Robert Clausecker <fuz@fuz.su>
AuthorDate: 2022-08-04 06:12:42 +0000
Commit: Fernando Apesteguía <fernape@FreeBSD.org>
CommitDate: 2022-08-05 05:35:22 +0000
databases/mysql-udf: always add -fPIC
This fixes build for armv6 and armv7
PR: 265565
Reported by: fuz@fuz.su (maintainer)
MFH: 2022Q3 (build fixes)
(cherry picked from commit cabd9376521555cf8026b5416c5f033ebbd3d7b1)
---
databases/mysql-udf/Makefile | 8 +-------
1 file changed, 1 insertion(+), 7 deletions(-)
diff --git a/databases/mysql-udf/Makefile b/databases/mysql-udf/Makefile
index 9ec20b2e2276..1f5494b26687 100644
--- a/databases/mysql-udf/Makefile
+++ b/databases/mysql-udf/Makefile
@@ -12,13 +12,7 @@ COMMENT= Set of user-defined functions for the MySQL server
WRKSRC= ${WRKDIR}/${PORTNAME}
USES= mysql
-CFLAGS_aarch64= -fPIC
-CFLAGS_amd64= -fPIC
-CFLAGS_i386= -fPIC
-CFLAGS_powerpc= -fPIC
-CFLAGS_powerpc64= -fPIC
-CFLAGS_powerpc64le= -fPIC
-CFLAGS_riscv64= -fPIC
+CFLAGS+= -fPIC
MODULES= colwidth confidence_higher confidence_lower correlation \
faculty geomean intercept kurtosis longest median noverm \