summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xbuild-aux/config.sub8
-rw-r--r--lib/getloadavg.c2
-rw-r--r--m4/manywarnings.m43
3 files changed, 9 insertions, 4 deletions
diff --git a/build-aux/config.sub b/build-aux/config.sub
index d1f5b549034..072700fb037 100755
--- a/build-aux/config.sub
+++ b/build-aux/config.sub
@@ -2,7 +2,7 @@
# Configuration validation subroutine script.
# Copyright 1992-2018 Free Software Foundation, Inc.
-timestamp='2018-05-24'
+timestamp='2018-07-02'
# This file is free software; you can redistribute it and/or modify it
# under the terms of the GNU General Public License as published by
@@ -1125,6 +1125,12 @@ case $basic_machine in
ps2)
basic_machine=i386-ibm
;;
+ riscv)
+ basic_machine=riscv32-unknown
+ ;;
+ riscv-*)
+ basic_machine=`echo "$basic_machine" | sed 's/^riscv/riscv32/'`
+ ;;
rm[46]00)
basic_machine=mips-siemens
;;
diff --git a/lib/getloadavg.c b/lib/getloadavg.c
index 435d10a6b10..578316e34d8 100644
--- a/lib/getloadavg.c
+++ b/lib/getloadavg.c
@@ -97,7 +97,7 @@
# include "intprops.h"
-# if defined _WIN32 && ! defined __CYGWIN__
+# if defined _WIN32 && ! defined __CYGWIN__ && ! defined WINDOWS32
# define WINDOWS32
# endif
diff --git a/m4/manywarnings.m4 b/m4/manywarnings.m4
index 925c40e139a..516c5874765 100644
--- a/m4/manywarnings.m4
+++ b/m4/manywarnings.m4
@@ -1,4 +1,4 @@
-# manywarnings.m4 serial 15
+# manywarnings.m4 serial 16
dnl Copyright (C) 2008-2018 Free Software Foundation, Inc.
dnl This file is free software; the Free Software Foundation
dnl gives unlimited permission to copy and/or distribute it,
@@ -239,7 +239,6 @@ m4_defun([gl_MANYWARN_ALL_GCC(C)],
-Wsuggest-final-types \
-Wswitch \
-Wswitch-bool \
- -Wswitch-default \
-Wswitch-unreachable \
-Wsync-nand \
-Wsystem-headers \