aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrew Waterman <waterman@cs.berkeley.edu>2014-11-19 18:08:17 -0800
committerAndrew Waterman <waterman@cs.berkeley.edu>2014-11-19 18:08:17 -0800
commit306b7359e800d06103e602464afc7e9ac8842572 (patch)
tree7dd0435ac45aba9516ad4c81460ce4775223990c
parent8e7ae9b1d6da2ad31c44ea753783057678b8987f (diff)
downloadspike-306b7359e800d06103e602464afc7e9ac8842572.zip
spike-306b7359e800d06103e602464afc7e9ac8842572.tar.gz
spike-306b7359e800d06103e602464afc7e9ac8842572.tar.bz2
Suppress harmless warnings
specifically, unused variables in auto-generated code.
-rwxr-xr-xconfigure4
-rw-r--r--configure.ac4
2 files changed, 4 insertions, 4 deletions
diff --git a/configure b/configure
index 258ad60..abddde5 100755
--- a/configure
+++ b/configure
@@ -4006,9 +4006,9 @@ fi
# Default compiler flags
#-------------------------------------------------------------------------
-CFLAGS="-Wall -O2 -Wno-unused"
+CFLAGS="-Wall -Wno-unused -O2"
-CXXFLAGS="-Wall -O2 -std=c++11"
+CXXFLAGS="-Wall -Wno-unused -O2 -std=c++11"
#-------------------------------------------------------------------------
diff --git a/configure.ac b/configure.ac
index ce84dc5..d6fb7e5 100644
--- a/configure.ac
+++ b/configure.ac
@@ -72,8 +72,8 @@ AC_HEADER_STDC
# Default compiler flags
#-------------------------------------------------------------------------
-AC_SUBST([CFLAGS], ["-Wall -O2 -Wno-unused"])
-AC_SUBST([CXXFLAGS],["-Wall -O2 -std=c++11"])
+AC_SUBST([CFLAGS], ["-Wall -Wno-unused -O2"])
+AC_SUBST([CXXFLAGS],["-Wall -Wno-unused -O2 -std=c++11"])
#-------------------------------------------------------------------------
# MCPPBS subproject list