diff options
author | 2022-03-23 08:18:06 +0100 | |
---|---|---|
committer | 2022-04-20 17:05:46 -0700 | |
commit | 96980b833a21c6dc29d0dfdc8f211fb8a10256a7 (patch) | |
tree | 7479441067048a940a0e8d52f97c6b987b9c0198 /lib/test_bitmap.c | |
parent | tools/nolibc: add the nolibc subdir to the common Makefile (diff) | |
download | linux-dev-96980b833a21c6dc29d0dfdc8f211fb8a10256a7.tar.xz linux-dev-96980b833a21c6dc29d0dfdc8f211fb8a10256a7.zip |
tools/nolibc/string: do not use __builtin_strlen() at -O0
clang wants to use strlen() for __builtin_strlen() at -O0. We don't
really care about -O0 but it at least ought to build, so let's make
sure we don't choke on this, by dropping the optimizationn for
constant strings in this case.
Signed-off-by: Willy Tarreau <w@1wt.eu>
Signed-off-by: Paul E. McKenney <paulmck@kernel.org>
Diffstat (limited to 'lib/test_bitmap.c')
0 files changed, 0 insertions, 0 deletions