m4: bump for autocruft

This commit is contained in:
Danny Robson 2015-10-12 19:20:29 +11:00
parent 0283c6b0f9
commit bb6256c5a2
2 changed files with 13 additions and 0 deletions

View File

@ -32,6 +32,18 @@ AC_DEFUN([NC_OPTIMISATION],[
AX_APPEND_COMPILE_FLAGS([-fdevirtualize-at-ltrans], [], [-Werror])
])
##-------------------------------------------------------------------------
## Enable frame pointer
AC_ARG_ENABLE([frame-pointer], [
AS_HELP_STRING([--enable-frame-pointer], [retain the frame pointer even if optimising])
])
AS_IF([test "x$enable_frame_pointer" = "xyes"], [
AX_APPEND_COMPILE_FLAGS([-fno-omit-frame-pointer], [], [-Werror])
])
##-------------------------------------------------------------------------
## Choose the most performant processor architecture and features

View File

@ -33,6 +33,7 @@ AC_DEFUN([NC_WARNINGS],[
AX_APPEND_COMPILE_FLAGS([-Wunused-but-set-variable], [], [-Werror])
AX_APPEND_COMPILE_FLAGS([-Wunused-parameter], [], [-Werror])
AX_APPEND_COMPILE_FLAGS([-Wuseless-cast], [], [-Werror])
AX_APPEND_COMPILE_FLAGS([-Wpessimizing-move], [], [-Werror])
# -------------------------------------------------------------------------
# Required extensions