mirror of https://github.com/wolfSSL/wolfssl
remove automatic O2 opts for non debug, could be Os or O3, remove simple debug m4
This commit is contained in:
parent
4e19c234f4
commit
d3b01f9c56
|
@ -60,7 +60,6 @@
|
|||
AC_DEFUN([AX_HARDEN_LINKER_FLAGS], [
|
||||
AC_REQUIRE([AX_CHECK_LINK_FLAG])
|
||||
AC_REQUIRE([AX_VCS_CHECKOUT])
|
||||
AC_REQUIRE([AX_DEBUG])
|
||||
|
||||
AS_IF([test "$ac_cv_vcs_checkout" = yes], [
|
||||
AX_CHECK_LINK_FLAG([-Werror])
|
||||
|
@ -74,9 +73,7 @@
|
|||
|
||||
AC_LANG_PUSH([C])
|
||||
AS_IF([test "$ax_with_debug" = yes], [
|
||||
AX_APPEND_COMPILE_FLAGS([-O0])],[
|
||||
AX_APPEND_COMPILE_FLAGS([-O2])
|
||||
])
|
||||
AX_APPEND_COMPILE_FLAGS([-O0])],[])
|
||||
|
||||
ac_cv_warnings_as_errors=no
|
||||
AS_IF([test "$ac_cv_vcs_checkout" = yes], [
|
||||
|
|
Loading…
Reference in New Issue