aboutsummaryrefslogtreecommitdiff
path: root/sim/arch-subdir.mk.in
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2021-06-18 01:14:39 -0400
committerMike Frysinger <vapier@gentoo.org>2021-06-18 10:25:04 -0400
commit47ce766a8b922377425cfa88189acb1d43ca58af (patch)
tree55a8e203cc2c722f0fe6410ca0fec574f3ba791e /sim/arch-subdir.mk.in
parent5a767724d7e4d8dfe70a82edceaeaa6d57ff2b84 (diff)
downloadgdb-47ce766a8b922377425cfa88189acb1d43ca58af.zip
gdb-47ce766a8b922377425cfa88189acb1d43ca58af.tar.gz
gdb-47ce766a8b922377425cfa88189acb1d43ca58af.tar.bz2
sim: unify -Werror build settings
Move these options up to the common dir so we only test & export them once across all ports. It also enables -Werror usage on the common files we've been pulling out of arch subdirs.
Diffstat (limited to 'sim/arch-subdir.mk.in')
-rw-r--r--sim/arch-subdir.mk.in3
1 files changed, 3 insertions, 0 deletions
diff --git a/sim/arch-subdir.mk.in b/sim/arch-subdir.mk.in
index 9eae1f3..6f9d4ad 100644
--- a/sim/arch-subdir.mk.in
+++ b/sim/arch-subdir.mk.in
@@ -16,3 +16,6 @@
#
# You should have received a copy of the GNU General Public License
# along with this program. If not, see <http://www.gnu.org/licenses/>.
+
+WARN_CFLAGS = @WARN_CFLAGS@
+WERROR_CFLAGS = @WERROR_CFLAGS@