diff options
author | davidovski <david@davidovski.xyz> | 2022-05-18 23:40:38 +0100 |
---|---|---|
committer | davidovski <david@davidovski.xyz> | 2022-05-18 23:40:38 +0100 |
commit | 0b977787374349328a21af0deade30d534cf3978 (patch) | |
tree | 3c2be28ef9a6f74a36f21cd48a34cb06b3080960 /repo/devel/gcc/0020-add-fortify-headers-paths.patch | |
parent | dccab9b94dcfc5e040647210ba22b9cc4bddc742 (diff) |
fixed gcc loader/linker errors
Diffstat (limited to 'repo/devel/gcc/0020-add-fortify-headers-paths.patch')
-rw-r--r-- | repo/devel/gcc/0020-add-fortify-headers-paths.patch | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/repo/devel/gcc/0020-add-fortify-headers-paths.patch b/repo/devel/gcc/0020-add-fortify-headers-paths.patch new file mode 100644 index 0000000..f445401 --- /dev/null +++ b/repo/devel/gcc/0020-add-fortify-headers-paths.patch @@ -0,0 +1,25 @@ +From 39e86416709d3d34f46da7cd7b8a3e5a8f0ff7cd Mon Sep 17 00:00:00 2001 +From: Ariadne Conill <ariadne@dereferenced.org> +Date: Fri, 21 Aug 2020 07:01:06 +0000 +Subject: [PATCH] add fortify-headers paths + +--- + gcc/config/linux.h | 2 ++ + 1 file changed, 2 insertions(+) + +diff --git a/gcc/config/linux.h b/gcc/config/linux.h +index 95654bcdb5a..d88df8f154a 100644 +--- a/gcc/config/linux.h ++++ b/gcc/config/linux.h +@@ -167,6 +167,8 @@ see the files COPYING3 and COPYING.RUNTIME respectively. If not, see + + #ifdef NATIVE_SYSTEM_HEADER_DIR + #define INCLUDE_DEFAULTS_MUSL_NATIVE \ ++ { NATIVE_SYSTEM_HEADER_DIR "/fortify", 0, 0, 0, 1, 2 }, \ ++ { NATIVE_SYSTEM_HEADER_DIR "/fortify", 0, 0, 0, 1, 0 }, \ + { NATIVE_SYSTEM_HEADER_DIR, 0, 0, 0, 1, 2 }, \ + { NATIVE_SYSTEM_HEADER_DIR, 0, 0, 0, 1, 0 }, + #else +-- +2.31.1 + |