Skip to content
This repository was archived by the owner on Oct 30, 2020. It is now read-only.

Commit 6458432

Browse files
committed
Fix: use -O in debug mode.
1 parent 37f7cee commit 6458432

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

configure.ac

+1-1
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ AC_ARG_ENABLE(debug, AS_HELP_STRING([--enable-debug], [enable debug flags (defau
1313
AS_IF([test "x$enable_debug" != "xyes"], [enable_debug=no])
1414
AC_MSG_RESULT($enable_debug)
1515

16-
AS_IF([test "x$enable_debug" = "xyes"], [CFLAGS="-g -O0"])
16+
AS_IF([test "x$enable_debug" = "xyes"], [CFLAGS="-g -O"])
1717

1818
AC_PROG_CC([clang gcc cc])
1919

0 commit comments

Comments
 (0)