m4: bump for autocruft
This commit is contained in:
parent
0283c6b0f9
commit
bb6256c5a2
@ -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
|
||||
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user