diff options
author | Elliott Hughes <enh@google.com> | 2023-09-12 17:42:48 +0000 |
---|---|---|
committer | Elliott Hughes <enh@google.com> | 2023-09-12 17:42:48 +0000 |
commit | f19a5ce316b807b8d6602cc165ef070f2a0cf9b1 (patch) | |
tree | 976838bd0455d7df06706f6aa785ba8e6ef87c3f | |
parent | 4d182a70e6d511109706f8fe764f73b6514864d3 (diff) | |
download | zstd-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.bp | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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"], |