--- configure.ac 2024-09-13 21:40:10.000000000 +0800 +++ configure.ac 2024-09-20 16:35:52.000000000 +0800 @@ -681,10 +681,6 @@ AX_CHECK_COMPILE_FLAG([${SUNCC_CFLAGS}], [CFLAGS="${CFLAGS} ${SUNCC_CFLAGS}" WFLAGS="${WFLAGS} ${SUNCC_CFLAGS}"]) -else - AX_CHECK_COMPILE_FLAG([-Werror], - [CFLAGS="${CFLAGS} -Werror" - WFLAGS="${WFLAGS} -Werror"]) fi case $target in