From 46ed8aaa89669e5c99639f2d1585f4244b081806 Mon Sep 17 00:00:00 2001 From: giovanni Date: Thu, 30 Aug 2018 17:23:47 +0000 Subject: [PATCH] Enable babl fast-paths on amd64 hints and ok ajacoutot@ --- graphics/babl/Makefile | 14 ++++++++++---- 1 file changed, 10 insertions(+), 4 deletions(-) diff --git a/graphics/babl/Makefile b/graphics/babl/Makefile index 032b5aebd32..e300a3d2b60 100644 --- a/graphics/babl/Makefile +++ b/graphics/babl/Makefile @@ -1,8 +1,9 @@ -# $OpenBSD: Makefile,v 1.44 2018/08/15 13:02:20 ajacoutot Exp $ +# $OpenBSD: Makefile,v 1.45 2018/08/30 17:23:47 giovanni Exp $ COMMENT= dynamic pixel format conversion library V= 0.1.56 +REVISION= 0 DISTNAME= babl-${V} EXTRACT_SUFX= .tar.bz2 @@ -31,12 +32,17 @@ CONFIGURE_ENV= LDFLAGS="-pthread" \ ac_cv_path_W3M=no \ ac_cv_path_RSVG=no -# be safe until proven stable CONFIGURE_ARGS += --enable-mmx \ - --disable-sse \ - --disable-sse2 \ --disable-altivec +.if ${MACHINE_ARCH} == "amd64" +CONFIGURE_ARGS += --enable-sse \ + --enable-sse2 +.else +CONFIGURE_ARGS += --disable-sse \ + --disable-sse2 +.endif + post-install: rm ${PREFIX}/lib/babl-${API_VERSION}/*.{a,la}