mirror of
https://git.freebsd.org/ports.git
synced 2025-07-18 01:39:16 -04:00
Disable machine registers on i386.
Follow debians lead [1] and pass --disable-regs on i386, to fix build with gcc6. [1] https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=852008 PR: 219275
This commit is contained in:
parent
856b53b3cc
commit
d9025e390e
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=448265
1 changed files with 8 additions and 1 deletions
|
@ -36,6 +36,13 @@ OPTIONS_SUB= yes
|
|||
FD_DESC= Enable finite domain constraint solver
|
||||
FD_CONFIGURE_OFF= --disable-fd-solver
|
||||
|
||||
# Disable registers on i386. This fixes build with gcc6.
|
||||
# See: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=852008
|
||||
.include <bsd.port.pre.mk>
|
||||
.if ${ARCH} == i386
|
||||
CONFIGURE_ARGS= --disable-regs
|
||||
.endif
|
||||
|
||||
post-configure:
|
||||
${REINPLACE_CMD} \
|
||||
-E 's|^(INSTALL_PROGRAM *= *install +-s +-m) 555|\1 755|g' \
|
||||
|
@ -51,4 +58,4 @@ post-install-EXAMPLES-off:
|
|||
post-install-DOCS-off:
|
||||
${RM} -r ${STAGEDIR}${DOCSDIR}
|
||||
|
||||
.include <bsd.port.mk>
|
||||
.include <bsd.port.post.mk>
|
||||
|
|
Loading…
Add table
Reference in a new issue