1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-18 03:46:03 +00:00
freebsd-ports/www/libxul/files/patch-bug1125580
Jan Beich 5e03fc411f Add ARM build fixes for JavaScript engine
PR:		197058
Differential Revision:	https://reviews.freebsd.org/D1683
Submitted by:	sbruno (earlier version)
Approved by:	bapt (mentor)
2015-01-26 20:30:05 +00:00

12 lines
376 B
Plaintext

--- js/src/jit/arm/Architecture-arm.cpp~
+++ js/src/jit/arm/Architecture-arm.cpp
@@ -17,7 +17,7 @@
#define HWCAP_USE_HARDFP_ABI (1 << 28)
-#if !(defined(ANDROID) || defined(MOZ_B2G)) && !defined(JS_ARM_SIMULATOR)
+#if defined(__linux__) && !defined(ANDROID) && !defined(MOZ_B2G) && !defined(JS_ARM_SIMULATOR)
#define HWCAP_ARMv7 (1 << 29)
#include <asm/hwcap.h>
#else