diff options
author | YU Jincheng | 2021-10-10 02:19:51 +0800 |
---|---|---|
committer | Denys Vlasenko | 2021-10-09 22:30:45 +0200 |
commit | 5156b245536ce0f07165793f07c63fd9fa5dd3b7 (patch) | |
tree | 3b73b7ea8ed1830d9cc13cbce1da6918926553e2 /libbb/Kbuild.src | |
parent | 04ad683bf99333c2a6c6fd6549faa67978ad9a98 (diff) | |
download | busybox-5156b245536ce0f07165793f07c63fd9fa5dd3b7.zip busybox-5156b245536ce0f07165793f07c63fd9fa5dd3b7.tar.gz |
Make const ptr assign as function call in clang
- This can act as memory barrier in clang to avoid
read before assign of a const ptr
Signed-off-by: LoveSy <shana@zju.edu.cn>
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to 'libbb/Kbuild.src')
-rw-r--r-- | libbb/Kbuild.src | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/libbb/Kbuild.src b/libbb/Kbuild.src index 6763008..2fa2398 100644 --- a/libbb/Kbuild.src +++ b/libbb/Kbuild.src @@ -24,6 +24,7 @@ lib-y += chomp.o lib-y += compare_string_array.o lib-y += concat_path_file.o lib-y += concat_subpath_file.o +lib-y += const_hack.o lib-y += copy_file.o lib-y += copyfd.o lib-y += crc32.o |