Skip to content
Commit d6a58bd8 authored by Siddhesh Poyarekar's avatar Siddhesh Poyarekar
Browse files

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: default avatarSiddhesh Poyarekar <siddhesh@sourceware.org>
Reviewed-by: default avatarAdhemerval Zanella <adhemerval.zanella@linaro.org>
(cherry picked from commit 86bf0feb)
parent 10f7bdeb
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment