From bd9b91a1803ed5fc284fe740bb162c08a1f340d9 Mon Sep 17 00:00:00 2001 From: Dmitry Marakasov Date: Wed, 1 Jul 2015 02:44:28 +0000 Subject: [PATCH] - Use correct flag for SSE instructions - Enable SSE on amd64 by default PR: 200411 Submitted by: fidaj@ukr.net, rddeblois@gmail.com (maintainer) --- graphics/squish/Makefile | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/graphics/squish/Makefile b/graphics/squish/Makefile index 4f2cb1ed1975..2e63a32328da 100644 --- a/graphics/squish/Makefile +++ b/graphics/squish/Makefile @@ -3,6 +3,7 @@ PORTNAME= squish PORTVERSION= 1.10 +PORTREVISION= 1 CATEGORIES= graphics MASTER_SITES= http://libsquish.googlecode.com/files/ @@ -19,10 +20,11 @@ CXXFLAGS+= -fPIC -include limits.h OPTIONS_RADIO= RG1 OPTIONS_RADIO_RG1= ALTIVEC SSE +OPTIONS_DEFAULT_amd64= SSE ALTIVEC_DESC= Use Altivec instructions RG1_DESC= Optimizations Selection ALTIVEC_CXXFLAGS= -DSQUISH_USE_ALTIVEC=1 -maltivec -SSE_CXXFLAGS= -DSQUISH_USE_SSE=2 -msse +SSE_CXXFLAGS= -DSQUISH_USE_SSE=2 -msse2 .include