summaryrefslogtreecommitdiffstats
path: root/mozilla-851850.patch
blob: 04260b952fc8353136c56006c8f1116b347fef5f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31

# HG changeset patch
# User Steve Singer <steve@ssinger.info>
# Date 1363699875 14400
# Node ID fe010206e5add13f4202113dcd74f54acb1e5b37
# Parent  90c5dd3a2d1533ce2646a53c6ec84773e6f42d43
Bug 851850 - Link in altivec on ppc64. r=jmuizelaar

diff --git a/gfx/qcms/Makefile.in b/gfx/qcms/Makefile.in
--- a/gfx/qcms/Makefile.in
+++ b/gfx/qcms/Makefile.in
@@ -48,17 +48,17 @@ else
 endif
 else
 	SSE1_FLAGS=
 	SSE2_FLAGS=
 endif
 endif
 endif
 else
-ifeq (ppc,$(CPU_ARCH))
+ifeq (ppc,$(findstring ppc,$(CPU_ARCH)))
 ifdef GNU_CC
 	CSRCS += transform-altivec.c
 	ALTIVEC_FLAGS=-maltivec
 endif
 endif
 endif
 
 FORCE_STATIC_LIB = 1