Date: Mon, 15 Sep 2014 15:39:03 +0000 (UTC) From: Sean Bruno <sbruno@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r368271 - head/graphics/sdl_gfx Message-ID: <201409151539.s8FFd3jh052267@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: sbruno Date: Mon Sep 15 15:39:03 2014 New Revision: 368271 URL: http://svnweb.freebsd.org/changeset/ports/368271 QAT: https://qat.redports.org/buildarchive/r368271/ Log: Disable MMX instructions on non-x86 architectures and properly enable the option on amd64 builds. Yet another armv6 build fix. Phabric: https://reviews.freebsd.org/D761 Submitted by: mva Reviewed by: bdrewery (mentor) Modified: head/graphics/sdl_gfx/Makefile Modified: head/graphics/sdl_gfx/Makefile ============================================================================== --- head/graphics/sdl_gfx/Makefile Mon Sep 15 15:35:18 2014 (r368270) +++ head/graphics/sdl_gfx/Makefile Mon Sep 15 15:39:03 2014 (r368271) @@ -24,8 +24,17 @@ CONFIGURE_ARGS= --includedir=${PREFIX}/i USE_LDCONFIG= yes OPTIONS_DEFINE_i386= MMX +OPTIONS_DEFINE_amd64= MMX MMX_CONFIGURE_ENABLE= mmx MMX_CFLAGS= -DUSE_MMX +.include <bsd.port.options.mk> + +.if !${PORT_OPTIONS:MMMX} +# Every platform not supporting the MMX knob must disable +# MMX support explicitly +CONFIGURE_ARGS+= --disable-mmx +.endif + .include <bsd.port.mk>
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201409151539.s8FFd3jh052267>