diff options
author | brd <brd@FreeBSD.org> | 2015-08-28 05:09:48 +0800 |
---|---|---|
committer | brd <brd@FreeBSD.org> | 2015-08-28 05:09:48 +0800 |
commit | 321bd0b4d4aed3d0cb0e20397faca2bc70d72156 (patch) | |
tree | 232b0b274b6bbe0ec35085971520ca3acf9fa684 /lang | |
parent | bf1772afa2cda358867b88069ddcf27ba3d206a4 (diff) | |
download | freebsd-ports-gnome-321bd0b4d4aed3d0cb0e20397faca2bc70d72156.tar.gz freebsd-ports-gnome-321bd0b4d4aed3d0cb0e20397faca2bc70d72156.tar.zst freebsd-ports-gnome-321bd0b4d4aed3d0cb0e20397faca2bc70d72156.zip |
Fix ARM build of lang/spidermoney170 by using GCC until clang is fixed.
Approved by: kwm (maintainer), bdrewery (mentor)
Diffstat (limited to 'lang')
-rw-r--r-- | lang/spidermonkey170/Makefile | 5 | ||||
-rw-r--r-- | lang/spidermonkey170/files/patch-assembler_jit_ExecutableAllocator.h | 8 |
2 files changed, 9 insertions, 4 deletions
diff --git a/lang/spidermonkey170/Makefile b/lang/spidermonkey170/Makefile index 01b51ff2f7cb..07af65fe7980 100644 --- a/lang/spidermonkey170/Makefile +++ b/lang/spidermonkey170/Makefile @@ -66,6 +66,11 @@ BROKEN= dtrace -G crashes with C++ object files STRIP_CMD= ${TRUE} .endif +# ARM needs GCC until https://llvm.org/bugs/show_bug.cgi?id=23244 is fixed +.if ${ARCH} == "armv6" +USE_GCC= yes +.endif + regression-test: build @${ECHO_MSG} -n "===> Running jstests.py: " @cd ${WRKSRC} && ${SETENV} TZ=PST8PDT ${PYTHON_CMD} tests/jstests.py \ diff --git a/lang/spidermonkey170/files/patch-assembler_jit_ExecutableAllocator.h b/lang/spidermonkey170/files/patch-assembler_jit_ExecutableAllocator.h index 21c71cee6d1f..c7d6bd14d57e 100644 --- a/lang/spidermonkey170/files/patch-assembler_jit_ExecutableAllocator.h +++ b/lang/spidermonkey170/files/patch-assembler_jit_ExecutableAllocator.h @@ -1,10 +1,10 @@ ---- assembler/jit/ExecutableAllocator.h.orig 2013-10-29 20:40:26 UTC -+++ assembler/jit/ExecutableAllocator.h -@@ -477,6 +477,11 @@ public: +--- assembler/jit/ExecutableAllocator.h.orig 2013-02-11 15:33:22.000000000 -0700 ++++ assembler/jit/ExecutableAllocator.h 2015-08-26 11:42:27.133593000 -0600 +@@ -468,6 +468,11 @@ { sync_instruction_memory((caddr_t)code, size); } -+#elif CPU(ARM_TRADITIONAL) && OS(FREEBSD) && COMPILER(CLANG) ++#elif WTF_CPU_ARM_TRADITIONAL && WTF_OS_FREEBSD + static void cacheFlush(void* code, size_t size) + { + __clear_cache(code, reinterpret_cast<char*>(code) + size); |