Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 5 Aug 2022 05:38:19 GMT
From:      =?utf-8?Q?Fernando=20Apestegu=C3=ADa?= <fernape@FreeBSD.org>
To:        ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-branches@FreeBSD.org
Subject:   git: caf3d8d57789 - 2022Q3 - databases/mysql-udf: always add -fPIC
Message-ID:  <202208050538.2755cJUA033470@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
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 \



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202208050538.2755cJUA033470>