qt4: fix 'arch' string due to microarchitecture change (#12957)

qt4 fails to build because it's expecting something like 'x86_64' rather 
than 'broadwell'.
This commit is contained in:
Seth R. Johnson 2019-09-26 12:15:17 -07:00 committed by Massimiliano Culpo
parent 7dae058f91
commit 5201d2615e

View file

@ -427,7 +427,7 @@ def configure(self, spec, prefix):
'-{0}gtkstyle'.format('' if '+gtk' in spec else 'no-'), '-{0}gtkstyle'.format('' if '+gtk' in spec else 'no-'),
'-{0}webkit'.format('' if '+webkit' in spec else 'no-'), '-{0}webkit'.format('' if '+webkit' in spec else 'no-'),
'-{0}phonon'.format('' if '+phonon' in spec else 'no-'), '-{0}phonon'.format('' if '+phonon' in spec else 'no-'),
'-arch', str(spec.architecture.target), '-arch', str(spec.target.family),
]) ])
# Disable phonon backend until gstreamer is setup as dependency # Disable phonon backend until gstreamer is setup as dependency