Update pixman: mmx is disabled only for MacOS. (#1896)

This commit is contained in:
Sergey Kosukhin 2016-10-06 10:43:34 +01:00 committed by Todd Gamblin
parent 4cce23ea89
commit 92ca6d6423

View file

@ -23,6 +23,7 @@
# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA # Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
############################################################################## ##############################################################################
from spack import * from spack import *
import sys
class Pixman(Package): class Pixman(Package):
@ -38,8 +39,13 @@ class Pixman(Package):
depends_on("libpng") depends_on("libpng")
def install(self, spec, prefix): def install(self, spec, prefix):
configure("--prefix=%s" % prefix, config_args = ["--prefix=" + prefix,
"--disable-mmx", "--disable-gtk"]
"--disable-gtk")
if sys.platform == "darwin":
config_args.append("--disable-mmx")
configure(*config_args)
make() make()
make("install") make("install")