1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-27 00:57:50 +00:00

- Use correct flag for SSE instructions

- Enable SSE on amd64 by default

PR:		200411
Submitted by:	fidaj@ukr.net, rddeblois@gmail.com (maintainer)
This commit is contained in:
Dmitry Marakasov 2015-07-01 02:44:28 +00:00
parent 7c917dbfae
commit bd9b91a180
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=391025

View File

@ -3,6 +3,7 @@
PORTNAME= squish PORTNAME= squish
PORTVERSION= 1.10 PORTVERSION= 1.10
PORTREVISION= 1
CATEGORIES= graphics CATEGORIES= graphics
MASTER_SITES= http://libsquish.googlecode.com/files/ MASTER_SITES= http://libsquish.googlecode.com/files/
@ -19,10 +20,11 @@ CXXFLAGS+= -fPIC -include limits.h
OPTIONS_RADIO= RG1 OPTIONS_RADIO= RG1
OPTIONS_RADIO_RG1= ALTIVEC SSE OPTIONS_RADIO_RG1= ALTIVEC SSE
OPTIONS_DEFAULT_amd64= SSE
ALTIVEC_DESC= Use Altivec instructions ALTIVEC_DESC= Use Altivec instructions
RG1_DESC= Optimizations Selection RG1_DESC= Optimizations Selection
ALTIVEC_CXXFLAGS= -DSQUISH_USE_ALTIVEC=1 -maltivec ALTIVEC_CXXFLAGS= -DSQUISH_USE_ALTIVEC=1 -maltivec
SSE_CXXFLAGS= -DSQUISH_USE_SSE=2 -msse SSE_CXXFLAGS= -DSQUISH_USE_SSE=2 -msse2
.include <bsd.port.mk> .include <bsd.port.mk>