Explicitly disable CPU optimized instruction. (--enable-arch-native is
default.) Enabling CPU optimized instruction gains some performance, but it lost portability of the binary package. Bump PKGREVISION.
This commit is contained in:
parent
fc14e06c76
commit
84170447ef
1 changed files with 5 additions and 2 deletions
|
@ -1,7 +1,7 @@
|
|||
# $NetBSD: Makefile,v 1.23 2013/12/28 19:50:34 hauke Exp $
|
||||
# $NetBSD: Makefile,v 1.24 2013/12/29 12:10:45 taca Exp $
|
||||
|
||||
DISTNAME= squid-3.4.1
|
||||
PKGREVISION= 2
|
||||
PKGREVISION= 3
|
||||
CATEGORIES= www
|
||||
MASTER_SITES= http://www.squid-cache.org/Versions/v3/${PKGVERSION_NOREV:R}/ \
|
||||
ftp://ftp.squid-cache.org/pub/squid/ \
|
||||
|
@ -32,6 +32,9 @@ CONFIGURE_ARGS+= --with-aio
|
|||
CONFIGURE_ARGS+= --with-default-user=${SQUID_USER}
|
||||
CONFIGURE_ARGS+= --with-pidfile=${VARBASE}/run/squid.pid
|
||||
|
||||
# Explicitly disable using CPU optimized instruction
|
||||
CONFIGURE_ARGS+= --disable-arch-native
|
||||
|
||||
BUILD_DEFS+= VARBASE
|
||||
MAKE_ENV+= INSTALL_SCRIPT=${INSTALL_SCRIPT:Q}
|
||||
MAKE_ENV+= PKG_PREFIX=${PREFIX} VARBASE=${VARBASE}
|
||||
|
|
Loading…
Reference in a new issue