git: cabd93765215 - main - databases/mysql-udf: always add -fPIC
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Fri, 05 Aug 2022 05:35:39 UTC
The branch main has been updated by fernape:
URL: https://cgit.FreeBSD.org/ports/commit/?id=cabd9376521555cf8026b5416c5f033ebbd3d7b1
commit cabd9376521555cf8026b5416c5f033ebbd3d7b1
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:32:31 +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)
---
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 ba0f6c013d7a..57f4130684c1 100644
--- a/databases/mysql-udf/Makefile
+++ b/databases/mysql-udf/Makefile
@@ -10,13 +10,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 \