0021-add-fortify-headers-paths.patch 821 B

1234567891011121314151617181920212223242526
  1. From 18d44a7f8d801cc6926a73e2dda2f0ce859dc561 Mon Sep 17 00:00:00 2001
  2. From: Ariadne Conill <ariadne@dereferenced.org>
  3. Date: Fri, 21 Aug 2020 07:01:06 +0000
  4. Subject: [PATCH] add fortify-headers paths
  5. ---
  6. gcc/config/linux.h | 2 ++
  7. 1 file changed, 2 insertions(+)
  8. diff --git a/gcc/config/linux.h b/gcc/config/linux.h
  9. index 4e1db60fced..7fcf402b416 100644
  10. --- a/gcc/config/linux.h
  11. +++ b/gcc/config/linux.h
  12. @@ -167,6 +167,8 @@ see the files COPYING3 and COPYING.RUNTIME respectively. If not, see
  13. #ifdef NATIVE_SYSTEM_HEADER_DIR
  14. #define INCLUDE_DEFAULTS_MUSL_NATIVE \
  15. + { NATIVE_SYSTEM_HEADER_DIR "/fortify", 0, 0, 0, 1, 2 }, \
  16. + { NATIVE_SYSTEM_HEADER_DIR "/fortify", 0, 0, 0, 1, 0 }, \
  17. { NATIVE_SYSTEM_HEADER_DIR, 0, 0, 0, 1, 2 }, \
  18. { NATIVE_SYSTEM_HEADER_DIR, 0, 0, 0, 1, 0 },
  19. #else
  20. --
  21. 2.35.1