mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-18 00:10:04 +00:00
www/qt5-webengine: Fix aarch64 build on CURRENT
../../../../kde-qtwebengine-5.15.18p2/src/3rdparty/chromium/third_party/crc32c/src/src/crc32c_arm64.cc:87:20: error: always_inline function 'vmull_p64' requires target feature 'aes', but would be inlined into function 'ExtendArm64' that is compiled without support for 'aes' Reported by: pkg-fallout Obtained from: Chromium upstream (https://chromium-review.googlesource.com/c/chromium/src/+/4137218) MFH: 2024Q4
This commit is contained in:
parent
4fccd643b9
commit
41aaa32c1f
@ -1,6 +1,6 @@
|
||||
--- src/3rdparty/chromium/third_party/crc32c/BUILD.gn.orig 2019-05-23 12:39:34 UTC
|
||||
--- src/3rdparty/chromium/third_party/crc32c/BUILD.gn.orig 2024-10-28 12:54:45 UTC
|
||||
+++ src/3rdparty/chromium/third_party/crc32c/BUILD.gn
|
||||
@@ -15,12 +15,9 @@ config("crc32c_config") {
|
||||
@@ -16,13 +16,10 @@ config("crc32c_config") {
|
||||
]
|
||||
|
||||
defines = [
|
||||
@ -8,9 +8,21 @@
|
||||
+ "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 += [
|
||||
"HAVE_MM_PREFETCH=1",
|
||||
@@ -122,6 +119,10 @@ source_set("crc32c_arm64") {
|
||||
"-target-feature",
|
||||
"-Xclang",
|
||||
"+crypto",
|
||||
+ "-Xclang",
|
||||
+ "-target-feature",
|
||||
+ "-Xclang",
|
||||
+ "+aes",
|
||||
]
|
||||
} else {
|
||||
cflags = [ "-march=armv8-a+crc+crypto" ]
|
||||
|
Loading…
Reference in New Issue
Block a user