mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-03 01:23:49 +00:00
Fix build on AMD64
This commit is contained in:
parent
47ce888c2f
commit
fba3b1ed05
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=101206
@ -35,6 +35,10 @@ HAVE_EMACS!= which emacs || echo nope
|
||||
PLIST= ${PKGDIR}/pkg-plist.emacs
|
||||
.endif
|
||||
|
||||
.if ${MACHINE_ARCH:L} == "amd64"
|
||||
CFLAGS+= -fPIC
|
||||
.endif
|
||||
|
||||
post-patch:
|
||||
@${REINPLACE_CMD} -e 's|-O3|"${CFLAGS}"|' ${WRKSRC}/${CONFIGURE_SCRIPT}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user