Move hack to avoid gcc optimizer bug on arm platforms into hacks.mk.
This commit is contained in:
parent
e7c3764b3e
commit
2dc2287de8
4 changed files with 20 additions and 10 deletions
|
@ -1,4 +1,4 @@
|
|||
# $NetBSD: Makefile,v 1.49 2005/08/19 18:12:38 jlam Exp $
|
||||
# $NetBSD: Makefile,v 1.50 2005/08/24 04:36:14 schmonz Exp $
|
||||
|
||||
DISTNAME= djbdns-1.05
|
||||
PKGREVISION= 7
|
||||
|
@ -27,10 +27,6 @@ MAKE_DIRS+= ${PKG_SYSCONFDIR}
|
|||
CONF_FILES+= ${EGDIR}/dnsroots.global ${PKG_SYSCONFDIR}/dnsroots.global
|
||||
PLIST_SRC= ${PKGDIR}/PLIST
|
||||
|
||||
.if ${MACHINE_ARCH} == "arm" || ${MACHINE_ARCH} == "arm32"
|
||||
GCC_REQD+= 3.0
|
||||
.endif
|
||||
|
||||
INSTALLATION_DIRS= bin man man/man1 man/man5 man/man8 share/examples/djbdns
|
||||
|
||||
post-install:
|
||||
|
|
9
net/djbdns/hacks.mk
Normal file
9
net/djbdns/hacks.mk
Normal file
|
@ -0,0 +1,9 @@
|
|||
# $NetBSD: hacks.mk,v 1.1 2005/08/24 04:36:14 schmonz Exp $
|
||||
|
||||
.include "../../mk/bsd.prefs.mk"
|
||||
|
||||
# Avoid gcc optimizer bug on arm platforms
|
||||
.if ${MACHINE_ARCH} == "arm" || ${MACHINE_ARCH} == "arm32"
|
||||
PKG_HACKS+= djbware-XXX-foo
|
||||
GCC_REQD+= 3.0
|
||||
.endif
|
|
@ -1,4 +1,4 @@
|
|||
# $NetBSD: Makefile,v 1.28 2005/08/19 03:55:00 schmonz Exp $
|
||||
# $NetBSD: Makefile,v 1.29 2005/08/24 04:36:14 schmonz Exp $
|
||||
|
||||
DISTNAME= ucspi-tcp-0.88
|
||||
PKGREVISION= 1
|
||||
|
@ -17,10 +17,6 @@ DJB_RESTRICTED= YES
|
|||
|
||||
PKG_INSTALLATION_TYPES= overwrite pkgviews
|
||||
|
||||
.if ${MACHINE_ARCH} == "arm" || ${MACHINE_ARCH} == "arm32"
|
||||
GCC_REQD+= 3.0
|
||||
.endif
|
||||
|
||||
INSTALLATION_DIRS= bin man man/man1
|
||||
|
||||
post-install:
|
||||
|
|
9
net/ucspi-tcp/hacks.mk
Normal file
9
net/ucspi-tcp/hacks.mk
Normal file
|
@ -0,0 +1,9 @@
|
|||
# $NetBSD: hacks.mk,v 1.1 2005/08/24 04:36:14 schmonz Exp $
|
||||
|
||||
.include "../../mk/bsd.prefs.mk"
|
||||
|
||||
# Avoid gcc optimizer bug on arm platforms
|
||||
.if ${MACHINE_ARCH} == "arm" || ${MACHINE_ARCH} == "arm32"
|
||||
PKG_HACKS+= djbware-XXX-foo
|
||||
GCC_REQD+= 3.0
|
||||
.endif
|
Loading…
Reference in a new issue