etc: Enable a tty for a serial port by default.
[dragora.git] / patches / gcc / 0021-add-fortify-headers-paths.patch
blob0e93b1620ce3a7468c8a310a6647b89a7d6a7879
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
6 ---
7 gcc/config/linux.h | 2 ++
8 1 file changed, 2 insertions(+)
10 diff --git a/gcc/config/linux.h b/gcc/config/linux.h
11 index 4e1db60fced..7fcf402b416 100644
12 --- a/gcc/config/linux.h
13 +++ b/gcc/config/linux.h
14 @@ -167,6 +167,8 @@ see the files COPYING3 and COPYING.RUNTIME respectively. If not, see
16 #ifdef NATIVE_SYSTEM_HEADER_DIR
17 #define INCLUDE_DEFAULTS_MUSL_NATIVE \
18 + { NATIVE_SYSTEM_HEADER_DIR "/fortify", 0, 0, 0, 1, 2 }, \
19 + { NATIVE_SYSTEM_HEADER_DIR "/fortify", 0, 0, 0, 1, 0 }, \
20 { NATIVE_SYSTEM_HEADER_DIR, 0, 0, 0, 1, 2 }, \
21 { NATIVE_SYSTEM_HEADER_DIR, 0, 0, 0, 1, 0 },
22 #else
23 --
24 2.35.1