From 0bde605bcfdb5e5abf43a219face700995f6eb1c Mon Sep 17 00:00:00 2001 From: amdmi3 Date: Sat, 30 May 2009 15:02:39 +0000 Subject: - Add SSE2 OPTION PR: 135064 Submitted by: Colin Percival Approved by: wen heping (maintainer) --- security/scrypt/Makefile | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'security/scrypt') diff --git a/security/scrypt/Makefile b/security/scrypt/Makefile index a9d19ebf85c3..690eccc6cc73 100644 --- a/security/scrypt/Makefile +++ b/security/scrypt/Makefile @@ -21,4 +21,14 @@ PLIST_FILES= bin/scrypt MAN1= scrypt.1 +OPTIONS= SSE2 "Use SSE2-optimized code" Off + +.include + +.if defined(WITH_SSE2) +CONFIGURE_ARGS+= --enable-sse2 +.else +CONFIGURE_ARGS+= --disable-sse2 +.endif + .include -- cgit