spack/var/spack/repos/builtin/packages/mozjs/Bug-638056-Avoid-The-cacheFlush-support-is-missing-o.patch
darmac 9c7c4a739f
mozjs@1.8.5: fix compile issue (#17594)
* mozjs@1.8.5: fix compile issue

* mozjs: refine method
2020-07-30 22:15:53 -05:00

21 lines
608 B
Diff

From: Mike Hommey <mh@glandium.org>
Date: Fri, 18 Mar 2011 09:25:57 +0100
Subject: Bug 638056 - Avoid "The cacheFlush support is missing on this
platform" error on exotic platforms
---
js/src/Makefile.in | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
--- a/js/src/Makefile.in
+++ b/js/src/Makefile.in
@@ -382,7 +382,7 @@ CPPSRCS += checks.cc \
# END enclude sources for V8 dtoa
#############################################
-ifeq (,$(filter-out powerpc sparc,$(TARGET_CPU)))
+ifeq (,$(filter arm %86 x86_64,$(TARGET_CPU)))
VPATH += $(srcdir)/assembler \
$(srcdir)/assembler/wtf \