Unified · Split
| @@ -2553,8 +2553,9 @@ case "$toolchain" in · 2552 unmodified lines | |||
| 2553 | add_ldflags -fprofile-arcs -ftest-coverage | 2553 | add_ldflags -fprofile-arcs -ftest-coverage |
| 2554 | ;; | 2554 | ;; |
| 2555 | hardened) | 2555 | hardened) |
| 2556 | add_cflags -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -fno-strict-overflow -fstack-protector-all | 2556 | add_cppflags -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 |
| 2557 | add_ldflags -Wl,-z,relro -Wl,-z,now | 2557 | add_cflags -fno-strict-overflow -fstack-protector-all |
| 2558 | add_ldflags -Wl,-z,relro -Wl,-z,now | ||
| 2558 | ;; | 2559 | ;; |
| 2559 | ?*) | 2560 | ?*) |
| 2560 | die "Unknown toolchain $toolchain" | 2561 | die "Unknown toolchain $toolchain" |