diff options
author | A. Wilcox <AWilcox@Wilcox-Tech.com> | 2018-02-20 21:53:51 -0600 |
---|---|---|
committer | A. Wilcox <AWilcox@Wilcox-Tech.com> | 2018-02-20 21:54:20 -0600 |
commit | 6d7203982c05651f748825deb393eb6480c03e32 (patch) | |
tree | f771531d5103dede68a6c9f52b349d8ba04cbb09 /system/gcc/012_all_default-warn-trampolines.patch | |
parent | 866f81aaa5e438537e6a4b30c1f0fcecc713a1a2 (diff) | |
download | packages-6d7203982c05651f748825deb393eb6480c03e32.tar.gz packages-6d7203982c05651f748825deb393eb6480c03e32.tar.bz2 packages-6d7203982c05651f748825deb393eb6480c03e32.tar.xz packages-6d7203982c05651f748825deb393eb6480c03e32.zip |
system/gcc: maintain our own toolchain
Diffstat (limited to 'system/gcc/012_all_default-warn-trampolines.patch')
-rw-r--r-- | system/gcc/012_all_default-warn-trampolines.patch | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/system/gcc/012_all_default-warn-trampolines.patch b/system/gcc/012_all_default-warn-trampolines.patch new file mode 100644 index 000000000..9ab4378d4 --- /dev/null +++ b/system/gcc/012_all_default-warn-trampolines.patch @@ -0,0 +1,25 @@ +Enable -Wtrampolines by default. + + +--- a/gcc/common.opt ++++ b/gcc/common.opt +@@ -648,7 +648,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 +--- a/gcc/doc/gcc.info ++++ b/gcc/doc/gcc.info +@@ -4021,6 +4021,8 @@ compiler warns that an unrecognized option is present. + and thus requires the stack to be made executable in order for the + program to work properly. + ++ This warning is enabled by default in Gentoo. ++ + '-Wfloat-equal' + Warn if floating-point values are used in equality comparisons. + |