aboutsummaryrefslogtreecommitdiff
path: root/sys/powerpc/conf/MPC85XXSPE
diff options
context:
space:
mode:
authorWarner Losh <imp@FreeBSD.org>2019-08-25 19:39:31 +0000
committerWarner Losh <imp@FreeBSD.org>2019-08-25 19:39:31 +0000
commit7d65d420462c1e08c43afc1a658be752a7b70466 (patch)
treebd81e3254bc14812e82d217ce4cdf470193c329c /sys/powerpc/conf/MPC85XXSPE
parent3eeebb94f1d5e5f3f962fe978113d0c586837747 (diff)
downloadsrc-7d65d420462c1e08c43afc1a658be752a7b70466.tar.gz
src-7d65d420462c1e08c43afc1a658be752a7b70466.zip
Fix bogusly declared WERRORs in kernel build
Many arm kernel configs bogusly specified WERROR=-Werror. There's no reason for this because the default is that and there's no reason to override. These date from a time when we needed to add additional warning->error suppression. They are obsolete and were cut and paste propagated from file to file. Comment out all the WERROR=.... lines in powerpc. They aren't bogus, but were appropriate for the old defaults for gcc4.2.1. Now that we've made the policy decision to suppress -Werror by default on these platforms, it is appropriate to comment these out. People wishing to fix these errors can still un-comment them out, or say WERROR=-Werror on the command line. Fix two instances (cut and paste propagation) of hard-coded -Werror in x86 code. Replace with ${WERROR} instead. This is a no-op change except for people who build WERROR=-Wno-error :). This should fix tinderbox / CI breakage.
Notes
Notes: svn path=/head/; revision=351485
Diffstat (limited to 'sys/powerpc/conf/MPC85XXSPE')
-rw-r--r--sys/powerpc/conf/MPC85XXSPE1
1 files changed, 0 insertions, 1 deletions
diff --git a/sys/powerpc/conf/MPC85XXSPE b/sys/powerpc/conf/MPC85XXSPE
index 2cea302361a3..93f096df8936 100644
--- a/sys/powerpc/conf/MPC85XXSPE
+++ b/sys/powerpc/conf/MPC85XXSPE
@@ -13,7 +13,6 @@ machine powerpc powerpcspe
include "dpaa/config.dpaa"
makeoptions DEBUG=-g #Build kernel with gdb(1) debug symbols
makeoptions WITH_CTF=1
-makeoptions WERROR="-Werror -Wno-format -Wno-redundant-decls"
options FPU_EMU
options MAXCPU=2