diff options
| author | Willy Tarreau <[email protected]> | 2022-03-23 08:18:06 +0100 |
|---|---|---|
| committer | Paul E. McKenney <[email protected]> | 2022-04-20 17:05:46 -0700 |
| commit | 96980b833a21c6dc29d0dfdc8f211fb8a10256a7 (patch) | |
| tree | 7479441067048a940a0e8d52f97c6b987b9c0198 /lib/test_fortify/write_overflow-strscpy.c | |
| parent | 0b37dff10bc05576f9594a10e8ef9c718dab931f (diff) | |
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 <[email protected]>
Signed-off-by: Paul E. McKenney <[email protected]>
Diffstat (limited to 'lib/test_fortify/write_overflow-strscpy.c')
0 files changed, 0 insertions, 0 deletions