|
|
| version 1.27, 2025/04/10 18:01:34 | version 1.30, 2025/04/12 00:54:16 |
|---|---|
| Line 24 | Line 24 |
| # along with FreeM. If not, see <https://www.gnu.org/licenses/>. | # along with FreeM. If not, see <https://www.gnu.org/licenses/>. |
| # | # |
| # $Log$ | # $Log$ |
| # Revision 1.30 2025/04/12 00:54:16 snw | |
| # Set -fno-stack-protector and -fno-mudflap where available, and set _FORTIFY_SOURCE to 0 everywhere | |
| # | |
| # Revision 1.29 2025/04/12 00:42:05 snw | |
| # Remove -Wall and all supporting directives | |
| # | |
| # Revision 1.28 2025/04/11 20:55:47 snw | |
| # Disable -Wunused-result where possible | |
| # | |
| # Revision 1.27 2025/04/10 18:01:34 snw | # Revision 1.27 2025/04/10 18:01:34 snw |
| # Further tweaks to the autoconf configuration | # Further tweaks to the autoconf configuration |
| # | # |
| Line 103 AC_CONFIG_HEADERS([src/config.h]) | Line 112 AC_CONFIG_HEADERS([src/config.h]) |
| AC_CONFIG_MACRO_DIR([m4]) | AC_CONFIG_MACRO_DIR([m4]) |
| AX_LIB_READLINE | AX_LIB_READLINE |
| AX_CHECK_COMPILE_FLAG([-Wno-format-truncation], [AX_APPEND_FLAG([-Wno-format-truncation])]) | # AX_CHECK_COMPILE_FLAG([-Wno-format-truncation], [AX_APPEND_FLAG([-Wno-format-truncation])]) |
| AX_CHECK_COMPILE_FLAG([-Wno-format-contains-nul], [AX_APPEND_FLAG([-Wno-format-contains-nul])]) | # AX_CHECK_COMPILE_FLAG([-Wno-format-contains-nul], [AX_APPEND_FLAG([-Wno-format-contains-nul])]) |
| AX_CHECK_COMPILE_FLAG([-Wno-stringop-truncation], [AX_APPEND_FLAG([-Wno-stringop-truncation])]) | # AX_CHECK_COMPILE_FLAG([-Wno-stringop-truncation], [AX_APPEND_FLAG([-Wno-stringop-truncation])]) |
| AX_CHECK_COMPILE_FLAG([-Wno-parentheses], [AX_APPEND_FLAG([-Wno-parentheses])]) | # AX_CHECK_COMPILE_FLAG([-Wno-parentheses], [AX_APPEND_FLAG([-Wno-parentheses])]) |
| AX_CHECK_COMPILE_FLAG([-Wno-pointer-sign], [AX_APPEND_FLAG([-Wno-pointer-sign])]) | # AX_CHECK_COMPILE_FLAG([-Wno-pointer-sign], [AX_APPEND_FLAG([-Wno-pointer-sign])]) |
| # | |
| AX_CHECK_COMPILE_FLAG([-fno-stack-protector], [AX_APPEND_FLAG([-fno-stack-protector])]) | |
| AX_CHECK_COMPILE_FLAG([-fno-mudflap], [AX_APPEND_FLAG([-fno-mudflap])]) | |
| # check for libm | # check for libm |
| AC_CHECK_LIB([m], [powf]) | AC_CHECK_LIB([m], [powf]) |