blob: d9cc35f2d7a1b74ce78913a72c9c5fd6feb1bd31 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
|
--- src/3rdparty/chromium/third_party/crc32c/BUILD.gn.orig 2019-05-23 12:39:34 UTC
+++ src/3rdparty/chromium/third_party/crc32c/BUILD.gn
@@ -15,12 +15,9 @@ config("crc32c_config") {
]
defines = [
- "BYTE_ORDER_BIG_ENDIAN=0",
+ "BYTE_ORDER_BIG_ENDIAN=__BYTE_ORDER__==__ORDER_BIG_ENDIAN__",
"CRC32C_TESTS_BUILT_WITH_GLOG=0",
]
-
- # If we ever support big-endian builds, add logic to conditionally enable
- # BYTE_ORDER_BIG_ENDIAN.
if (target_cpu == "x86" || target_cpu == "x64") {
defines += [
|