diff options
author | is <is@pkgsrc.org> | 1999-01-30 20:15:19 +0000 |
---|---|---|
committer | is <is@pkgsrc.org> | 1999-01-30 20:15:19 +0000 |
commit | a0c85e5e0e1e34341e5b930c6a65f56acfa86faa (patch) | |
tree | ceb962d235135a10d20d525e4e5b68a6a402ea8f /security | |
parent | 5a5535860823bb5af35230d953da765a9dfe866f (diff) | |
download | pkgsrc-a0c85e5e0e1e34341e5b930c6a65f56acfa86faa.tar.gz |
Make the ssh package 68060 aware.
Like for the pgp2 package, we avoid 68020-40 tuned assembler code
that makes heavy use of the 32<->64bit mul or div, which is emulated
on the 68060.
Currently, we do this by using the --disable-asm configure option and
passing -m68060 to the compiler.
I couldn't figure out how to pass host=m68060--netbsd to the gmp
subconfigure. Even this way, there is a speedup of about 6 for the
sshd or ssh startup.
To enable, set M68060=yes in your /etc/mk.conf, when building this
package.
Diffstat (limited to 'security')
-rw-r--r-- | security/ssh/Makefile | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/security/ssh/Makefile b/security/ssh/Makefile index d23590d6ac7..5dc1cf8aa11 100644 --- a/security/ssh/Makefile +++ b/security/ssh/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.37 1999/01/30 20:09:44 is Exp $ +# $NetBSD: Makefile,v 1.38 1999/01/30 20:15:19 is Exp $ # FreeBSD Id: Makefile,v 1.47 1997/11/10 22:04:42 dima Exp # @@ -77,6 +77,12 @@ CONFIGURE_ARGS+= --disable-suid-ssh CFLAGS+= -DLIBWRAP_FWD .endif +# be more effective on M68060 machines +.if defined(M68060) +CONFIGURE_ARGS+= --disable-asm +CFLAGS+= -m68060 +.endif + PKGDIR= ${WRKDIR}/pkg pre-patch: |