|
# --- SDE-COPYRIGHT-NOTE-BEGIN ---
|
|
# This copyright note is auto-generated by ./scripts/Create-CopyPatch.
|
|
#
|
|
# Filename: package/.../musl/pkg/gcc/0007-Enable-Wtrampolines-by-default.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 1bcf7e30226852db956becebaffdfe2738923423 Mon Sep 17 00:00:00 2001
|
|
From: Ariadne Conill <ariadne@dereferenced.org>
|
|
Date: Fri, 21 Aug 2020 06:48:24 +0000
|
|
Subject: [PATCH 07/30] Enable -Wtrampolines by default.
|
|
|
|
---
|
|
gcc/common.opt | 2 +-
|
|
1 file changed, 1 insertion(+), 1 deletion(-)
|
|
|
|
diff --git a/gcc/common.opt b/gcc/common.opt
|
|
index d3c3e51dcb0..7b68397c232 100644
|
|
--- a/gcc/common.opt
|
|
+++ b/gcc/common.opt
|
|
@@ -774,7 +774,7 @@ Common Var(warn_system_headers) Warning
|
|
Do not suppress warnings from system headers.
|
|
|
|
Wtrampolines
|
|
-Common Var(warn_trampolines) Warning
|
|
+Common Var(warn_trampolines) Init(1) Warning
|
|
Warn whenever a trampoline is generated.
|
|
|
|
Wtype-limits
|
|
--
|
|
2.27.0
|
|
|