--- freem/configure.ac 2025/04/15 03:37:30 1.31 +++ freem/configure.ac 2025/04/15 03:42:30 1.32 @@ -1,5 +1,5 @@ # -# $Id: configure.ac,v 1.31 2025/04/15 03:37:30 snw Exp $ +# $Id: configure.ac,v 1.32 2025/04/15 03:42:30 snw Exp $ # autoconf rules for FreeM # # @@ -24,6 +24,9 @@ # along with FreeM. If not, see . # # $Log: configure.ac,v $ +# Revision 1.32 2025/04/15 03:42:30 snw +# Remove -fno-stack-protector to fix dynamic executable builds on SunCC on Solaris +# # Revision 1.31 2025/04/15 03:37:30 snw # Remove -fno-mudflap to fix Solaris builds # @@ -115,13 +118,14 @@ AC_CONFIG_HEADERS([src/config.h]) AC_CONFIG_MACRO_DIR([m4]) AX_LIB_READLINE +## +# The following may be needed once we get back to enabling -Wall -Wextra -pedantic +# # 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-stringop-truncation], [AX_APPEND_FLAG([-Wno-stringop-truncation])]) # 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([-fno-stack-protector], [AX_APPEND_FLAG([-fno-stack-protector])]) # check for libm AC_CHECK_LIB([m], [powf])