m4/debugging: add stabs debug symbols

win32 seems to have some level of stabs capabilities
This commit is contained in:
Danny Robson 2016-04-27 17:07:55 +10:00
parent 5b58e0afa6
commit c810056a70

View File

@ -63,6 +63,11 @@ AC_DEFUN([NC_DEBUGGING],[
])
##-------------------------------------------------------------------------
AX_APPEND_COMPILE_FLAGS([-g], [], [-Werror])
AX_APPEND_COMPILE_FLAGS([-ggdb], [], [-Werror])
AS_CASE([${host_os}],
[mingw*], [AX_APPEND_COMPILE_FLAGS([-gstabs], [], [-Werror])],
[
AX_APPEND_COMPILE_FLAGS([-g], [], [-Werror])
AX_APPEND_COMPILE_FLAGS([-ggdb], [], [-Werror])
]
)
])