|
# --- SDE-COPYRIGHT-NOTE-BEGIN ---
|
|
# This copyright note is auto-generated by ./scripts/Create-CopyPatch.
|
|
#
|
|
# Filename: package/.../musl/pkg/gcc/0021-add-fortify-headers-paths.patch
|
|
# Copyright (C) 2020 The OpenSDE Project
|
|
#
|
|
# More information can be found in the files COPYING and README.
|
|
#
|
|
# This patch file is dual-licensed. It is available under the license the
|
|
# patched project is licensed under, as long as it is an OpenSource license
|
|
# as defined at http://www.opensource.org/ (e.g. BSD, X11) or under the terms
|
|
# of the GNU General Public License as published by the Free Software
|
|
# Foundation; either version 2 of the License, or (at your option) any later
|
|
# version.
|
|
# --- SDE-COPYRIGHT-NOTE-END ---
|
|
|
|
From a0708ec975c01b049d254dc51179898966bf8a52 Mon Sep 17 00:00:00 2001
|
|
From: Ariadne Conill <ariadne@dereferenced.org>
|
|
Date: Fri, 21 Aug 2020 07:01:06 +0000
|
|
Subject: [PATCH 21/30] 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.27.0
|
|
|