aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorElliott Hughes <enh@google.com>2023-09-12 17:42:48 +0000
committerElliott Hughes <enh@google.com>2023-09-12 17:42:48 +0000
commitf19a5ce316b807b8d6602cc165ef070f2a0cf9b1 (patch)
tree976838bd0455d7df06706f6aa785ba8e6ef87c3f
parent4d182a70e6d511109706f8fe764f73b6514864d3 (diff)
downloadzstd-f19a5ce316b807b8d6602cc165ef070f2a0cf9b1.tar.gz
Don't use assembler for x86-64.
This reverts a change I thought I had to make in a recent upgrade, and chooses the safer build fix instead. I note that the Linux kernel seems to disable this too, but the proximate cause for me disabling this is that zstd v1.5.5 causes CFI failures in logd with this enabled. Test: treehugger Change-Id: I8ae748ec36737685a1771f1f779b9896559dc258
-rw-r--r--Android.bp2
1 files changed, 1 insertions, 1 deletions
diff --git a/Android.bp b/Android.bp
index e61037a2..096eb3bf 100644
--- a/Android.bp
+++ b/Android.bp
@@ -72,7 +72,7 @@ cc_library {
srcs: ["lib/*/*.c"],
arch: {
x86_64: {
- srcs: ["lib/decompress/huf_decompress_amd64.S"],
+ cflags: ["-DZSTD_DISABLE_ASM"],
},
},
cflags: ["-Wall", "-Werror"],