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])