mirror of
https://git.freebsd.org/ports.git
synced 2025-07-18 01:39:16 -04:00
audio/liba52: build PIC objects on all architectures
PR: 215974 Reported by: mmel Inspired by: ArchLinux, Gentoo, Debian Reviewed by: tijl (implicit)
This commit is contained in:
parent
1a3629b92b
commit
ee4e4cfebe
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=450863
1 changed files with 3 additions and 4 deletions
|
@ -28,12 +28,11 @@ DJBFFT_CFLAGS= -I${LOCALBASE}/include
|
|||
DJBFFT_LDFLAGS= -L${LOCALBASE}/lib
|
||||
DJBFFT_CONFIGURE_ON= --enable-djbfft
|
||||
|
||||
CFLAGS_aarch64= -fPIC
|
||||
CFLAGS_amd64= -fPIC
|
||||
CFLAGS_powerpc= -fPIC
|
||||
|
||||
HEADER_FILES= liba52/a52_internal.h
|
||||
|
||||
post-patch:
|
||||
@${REINPLACE_CMD} '/-prefer-non-pic/d' ${WRKSRC}/configure
|
||||
|
||||
post-patch-OPTIMIZED_CFLAGS-off:
|
||||
@${REINPLACE_CMD} -E -e 's!-O3!${CFLAGS}!' -e 's!-mcpu=[^"]+"!"!' \
|
||||
${CONFIGURE_WRKSRC}/${CONFIGURE_SCRIPT}
|
||||
|
|
Loading…
Add table
Reference in a new issue