aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrew Waterman <waterman@eecs.berkeley.edu>2014-09-11 19:43:51 -0700
committerAndrew Waterman <waterman@eecs.berkeley.edu>2014-09-11 19:43:51 -0700
commit3ccbeca6a9e8d8b066eda28583765d8e087f3da4 (patch)
tree8a545ca3bd05b80f3b8e68366306507ab73ccd6e
parent1d953bf6fc012167be65cdc8c6fe1197cf1d2ecc (diff)
downloadpk-3ccbeca6a9e8d8b066eda28583765d8e087f3da4.zip
pk-3ccbeca6a9e8d8b066eda28583765d8e087f3da4.tar.gz
pk-3ccbeca6a9e8d8b066eda28583765d8e087f3da4.tar.bz2
Disable pedantic warning under gcc 4.9.1
-rwxr-xr-xconfigure2
-rw-r--r--configure.ac2
2 files changed, 2 insertions, 2 deletions
diff --git a/configure b/configure
index fb55187..ceeae8d 100755
--- a/configure
+++ b/configure
@@ -3951,7 +3951,7 @@ fi
# Default compiler flags
#-------------------------------------------------------------------------
-CFLAGS="-Wall -Os -std=gnu99 -Wno-unused"
+CFLAGS="-Wall -Os -std=gnu99 -Wno-unused -Wno-attributes"
LIBS="-lc -lgcc"
diff --git a/configure.ac b/configure.ac
index 185237a..71a9e33 100644
--- a/configure.ac
+++ b/configure.ac
@@ -71,7 +71,7 @@ AC_HEADER_STDC
# Default compiler flags
#-------------------------------------------------------------------------
-AC_SUBST([CFLAGS], ["-Wall -Os -std=gnu99 -Wno-unused"])
+AC_SUBST([CFLAGS], ["-Wall -Os -std=gnu99 -Wno-unused -Wno-attributes"])
AC_SUBST([LIBS], ["-lc -lgcc"])
AX_DEFAULT_CONFIGURE_ARG([--host=riscv])