- rebase some patches - disable external startup data (using internal instead) - enable monolithic library
37 lines
1.3 KiB
Diff
37 lines
1.3 KiB
Diff
diff --git a/include/v8config.h b/include/v8config.h
|
|
index 57b537e6..e3467c72 100644
|
|
--- a/include/v8config.h
|
|
+++ b/include/v8config.h
|
|
@@ -372,6 +372,13 @@ path. Add it with -I<path> to the command line
|
|
|
|
#if defined(__GNUC__) // Clang in gcc mode.
|
|
# define V8_CC_GNU 1
|
|
+# if defined(__MINGW32__)
|
|
+# define V8_CC_MINGW32 1
|
|
+# endif
|
|
+# if defined(__MINGW64__)
|
|
+# define V8_CC_MINGW64 1
|
|
+# endif
|
|
+# define V8_CC_MINGW (V8_CC_MINGW32 || V8_CC_MINGW64)
|
|
#endif
|
|
|
|
# define V8_HAS_ATTRIBUTE_ALWAYS_INLINE (__has_attribute(always_inline))
|
|
@@ -870,7 +877,7 @@ V8 shared library set USING_V8_SHARED.
|
|
#elif defined(_M_IX86) || defined(__i386__)
|
|
#define V8_HOST_ARCH_IA32 1
|
|
#define V8_HOST_ARCH_32_BIT 1
|
|
-#elif defined(__AARCH64EL__) || defined(_M_ARM64)
|
|
+#elif defined(__AARCH64EL__) || defined(_M_ARM64) || defined(__aarch64__)
|
|
#define V8_HOST_ARCH_ARM64 1
|
|
#define V8_HOST_ARCH_64_BIT 1
|
|
#elif defined(__ARMEL__)
|
|
@@ -916,7 +923,7 @@ V8 shared library set USING_V8_SHARED.
|
|
#define V8_TARGET_ARCH_X64 1
|
|
#elif defined(_M_IX86) || defined(__i386__)
|
|
#define V8_TARGET_ARCH_IA32 1
|
|
-#elif defined(__AARCH64EL__) || defined(_M_ARM64)
|
|
+#elif defined(__AARCH64EL__) || defined(_M_ARM64) || defined(__aarch64__)
|
|
#define V8_TARGET_ARCH_ARM64 1
|
|
#elif defined(__ARMEL__)
|
|
#define V8_TARGET_ARCH_ARM 1
|