mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-20 08:27:15 +00:00
databases/mysql-udf: enable PIC on arm64 and i386, for lld
Shared objects should be built as PIC, and lld enforces this by default. Add aarch64 and i386 cases to the existing set of per-arch CFLAGS, and remove the BROKEN_aarch64. Approved by: portmgr (lld blanket) Sponsored by: The FreeBSD Foundation
This commit is contained in:
parent
4b6b1cb238
commit
39947679ec
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=480077
@ -3,19 +3,19 @@
|
||||
|
||||
PORTNAME= mysql-udf
|
||||
PORTVERSION= 0.3
|
||||
PORTREVISION= 2
|
||||
PORTREVISION= 3
|
||||
CATEGORIES= databases
|
||||
MASTER_SITES= SF/${PORTNAME}/${PORTNAME}/${PORTNAME}-${PORTVERSION}
|
||||
|
||||
MAINTAINER= ports@FreeBSD.org
|
||||
COMMENT= Set of user-defined functions for the MySQL server
|
||||
|
||||
BROKEN_aarch64= fails to link: can't create dynamic relocation R_AARCH64_ADR_PREL_PG_HI21 against symbol 'compare_doubles(void const*, void const*)' defined in udf_median.o
|
||||
|
||||
WRKSRC= ${WRKDIR}/${PORTNAME}
|
||||
|
||||
USES= mysql
|
||||
CFLAGS_aarch64+=-fPIC
|
||||
CFLAGS_amd64+= -fPIC
|
||||
CFLAGS_i386+= -fPIC
|
||||
|
||||
MODULES= colwidth confidence_higher confidence_lower correlation \
|
||||
faculty geomean intercept kurtosis longest median noverm \
|
||||
|
Loading…
Reference in New Issue
Block a user