mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-18 03:46:03 +00:00
5e03fc411f
PR: 197058 Differential Revision: https://reviews.freebsd.org/D1683 Submitted by: sbruno (earlier version) Approved by: bapt (mentor)
12 lines
376 B
Plaintext
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
|