diff options
| author | Siddhesh Poyarekar <siddhesh@sourceware.org> | 2022-01-12 18:46:28 +0530 |
|---|---|---|
| committer | Siddhesh Poyarekar <siddhesh@sourceware.org> | 2022-03-11 20:36:24 +0530 |
| commit | d6a58bd81d07322ff5da8f419d8620ef037b6a36 (patch) | |
| tree | 74ab1e7815f8d0c676eabac2da157a6c7cee6e30 /malloc/alloc_buffer_copy_string.c | |
| parent | 10f7bdebe570e42d1f7a43de4f90eda8ccb4f0da (diff) | |
| download | glibc-d6a58bd81d07322ff5da8f419d8620ef037b6a36.tar.xz glibc-d6a58bd81d07322ff5da8f419d8620ef037b6a36.zip | |
Enable _FORTIFY_SOURCE=3 for gcc 12 and above
gcc 12 now has support for the __builtin_dynamic_object_size builtin.
Adapt the macro checks to enable _FORTIFY_SOURCE=3 on gcc 12 and above.
Signed-off-by: Siddhesh Poyarekar <siddhesh@sourceware.org>
Reviewed-by: Adhemerval Zanella <adhemerval.zanella@linaro.org>
(cherry picked from commit 86bf0feb0e3ec8e37872f72499d6ae33406561d7)
Diffstat (limited to 'malloc/alloc_buffer_copy_string.c')
0 files changed, 0 insertions, 0 deletions
