diff options
author | Willy Tarreau <w@1wt.eu> | 2022-03-23 10:18:06 +0300 |
---|---|---|
committer | Paul E. McKenney <paulmck@kernel.org> | 2022-04-21 03:05:46 +0300 |
commit | 96980b833a21c6dc29d0dfdc8f211fb8a10256a7 (patch) | |
tree | 7479441067048a940a0e8d52f97c6b987b9c0198 /tools/lib/api/debug.c | |
parent | 0b37dff10bc05576f9594a10e8ef9c718dab931f (diff) | |
download | linux-96980b833a21c6dc29d0dfdc8f211fb8a10256a7.tar.xz |
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 'tools/lib/api/debug.c')
0 files changed, 0 insertions, 0 deletions