diff options
author | Natanael Copa <ncopa@alpinelinux.org> | 2018-11-30 15:58:34 +0000 |
---|---|---|
committer | Natanael Copa <ncopa@alpinelinux.org> | 2018-11-30 15:58:34 +0000 |
commit | 667a2bccc28ffcad2cddb4b4cd1085382c521f50 (patch) | |
tree | 0ed54fb79abff9109aca23036b70613a5213a424 /community/gcc6/012_all_default-warn-trampolines.patch | |
parent | 5a2238501aacaf1b6c86507ac383022e1b09450e (diff) | |
download | aports-667a2bccc28ffcad2cddb4b4cd1085382c521f50.tar.bz2 aports-667a2bccc28ffcad2cddb4b4cd1085382c521f50.tar.xz |
community/gcc6: move from testing
needed too bootstrap openjdk7
Diffstat (limited to 'community/gcc6/012_all_default-warn-trampolines.patch')
-rw-r--r-- | community/gcc6/012_all_default-warn-trampolines.patch | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/community/gcc6/012_all_default-warn-trampolines.patch b/community/gcc6/012_all_default-warn-trampolines.patch new file mode 100644 index 0000000000..9ab4378d4d --- /dev/null +++ b/community/gcc6/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. + |