diff options
author | Andrew Waterman <waterman@eecs.berkeley.edu> | 2014-09-11 19:43:51 -0700 |
---|---|---|
committer | Andrew Waterman <waterman@eecs.berkeley.edu> | 2014-09-11 19:43:51 -0700 |
commit | 3ccbeca6a9e8d8b066eda28583765d8e087f3da4 (patch) | |
tree | 8a545ca3bd05b80f3b8e68366306507ab73ccd6e | |
parent | 1d953bf6fc012167be65cdc8c6fe1197cf1d2ecc (diff) | |
download | pk-3ccbeca6a9e8d8b066eda28583765d8e087f3da4.zip pk-3ccbeca6a9e8d8b066eda28583765d8e087f3da4.tar.gz pk-3ccbeca6a9e8d8b066eda28583765d8e087f3da4.tar.bz2 |
Disable pedantic warning under gcc 4.9.1
-rwxr-xr-x | configure | 2 | ||||
-rw-r--r-- | configure.ac | 2 |
2 files changed, 2 insertions, 2 deletions
@@ -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]) |