mirror of
https://git.FreeBSD.org/ports.git
synced 2024-10-19 19:59:43 +00:00
5e03fc411f
PR: 197058 Differential Revision: https://reviews.freebsd.org/D1683 Submitted by: sbruno (earlier version) Approved by: bapt (mentor)
14 lines
620 B
Plaintext
14 lines
620 B
Plaintext
diff --git js/src/jit/arm/Architecture-arm.cpp js/src/jit/arm/Architecture-arm.cpp
|
|
index fe1373b..76641aa 100644
|
|
--- mozilla/js/src/jit/arm/Architecture-arm.cpp
|
|
+++ mozilla/js/src/jit/arm/Architecture-arm.cpp
|
|
@@ -16,7 +16,7 @@
|
|
#include "jit/arm/Assembler-arm.h"
|
|
#include "jit/RegisterSets.h"
|
|
|
|
-#if defined(ANDROID) || defined(JS_ARM_SIMULATOR)
|
|
+#if !defined(__linux__) || defined(ANDROID) || defined(JS_ARM_SIMULATOR)
|
|
// The Android NDK and B2G do not include the hwcap.h kernel header, and it is not
|
|
// defined when building the simulator, so inline the header defines we need.
|
|
# define HWCAP_VFP (1 << 6)
|