Update pixman: mmx is disabled only for MacOS. (#1896)
This commit is contained in:
parent
4cce23ea89
commit
92ca6d6423
1 changed files with 9 additions and 3 deletions
|
@ -23,6 +23,7 @@
|
|||
# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
||||
##############################################################################
|
||||
from spack import *
|
||||
import sys
|
||||
|
||||
|
||||
class Pixman(Package):
|
||||
|
@ -38,8 +39,13 @@ class Pixman(Package):
|
|||
depends_on("libpng")
|
||||
|
||||
def install(self, spec, prefix):
|
||||
configure("--prefix=%s" % prefix,
|
||||
"--disable-mmx",
|
||||
"--disable-gtk")
|
||||
config_args = ["--prefix=" + prefix,
|
||||
"--disable-gtk"]
|
||||
|
||||
if sys.platform == "darwin":
|
||||
config_args.append("--disable-mmx")
|
||||
|
||||
configure(*config_args)
|
||||
|
||||
make()
|
||||
make("install")
|
||||
|
|
Loading…
Reference in a new issue