From c18f4d7c959bb1bc1cb3417a858c53a9fe829bca Mon Sep 17 00:00:00 2001 From: Jason Self Date: Sat, 17 Feb 2018 13:59:22 -0800 Subject: [PATCH] as31: Change optimization level from 2 to 0 This avoids a segmentation fault when building the usbdux firmware. --- as31/configure | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/as31/configure b/as31/configure index 9e0cf00..022aeec 100755 --- a/as31/configure +++ b/as31/configure @@ -2826,13 +2826,13 @@ if test "$ac_test_CFLAGS" = set; then CFLAGS=$ac_save_CFLAGS elif test $ac_cv_prog_cc_g = yes; then if test "$GCC" = yes; then - CFLAGS="-g -O2" + CFLAGS="-g -O0" else CFLAGS="-g" fi else if test "$GCC" = yes; then - CFLAGS="-O2" + CFLAGS="-O0" else CFLAGS= fi -- 2.25.1