Looks like that setting __MMX__ was not the correct way to use

some functions from mmintrin.h, use -msse... this fixes the problems
reported by Phil Pereira in pkgsrc-users.
This commit is contained in:
Juan Romero Pardines 2007-02-03 17:20:30 +00:00 committed by Thomas Klausner
parent d71ca2f158
commit fc29615640

View file

@ -1,4 +1,4 @@
# $NetBSD: Makefile,v 1.8 2007/01/24 18:25:49 xtraeme Exp $
# $NetBSD: Makefile,v 1.9 2007/02/03 17:20:30 xtraeme Exp $
.include "../../wip/xfce4/Makefile.common"
@ -13,7 +13,7 @@ DEPENDS+= p5-URI>=0:../../www/p5-URI
.if !empty(OPSYS:MNetBSD)
. if exists(/usr/include/mmintrin.h)
CPPFLAGS+= -D__MMX__
CFLAGS+= -msse
. endif
.endif