Removed the -Wimplicit-fallthrough=5
from autogen.sh, since older GCC throws “error: unknown warning option”.
This commit is contained in:
parent
562db08c3d
commit
7c7503449f
@ -113,7 +113,6 @@ OPTIMIZE_HUGE_CFLAGS="-funroll-loops -DTFM_SMALL_SET -DTFM_HUGE_SET"
|
||||
DEBUG_CFLAGS="-g -DDEBUG -DDEBUG_WOLFSSL"
|
||||
LIB_ADD=
|
||||
LIB_STATIC_ADD=
|
||||
SWITCH_FALLTHROUGH="-Wimplicit-fallthrough=5"
|
||||
|
||||
thread_ls_on=no
|
||||
# Thread local storage
|
||||
@ -3423,9 +3422,6 @@ case $host_os in
|
||||
fi ;;
|
||||
esac
|
||||
|
||||
# add strict checking for switch fall-through
|
||||
CFLAGS="$CFLAGS $SWITCH_FALLTHROUGH"
|
||||
|
||||
|
||||
# add user C_EXTRA_FLAGS back
|
||||
# For distro disable custom build options that interfere with symbol generation
|
||||
|
Loading…
x
Reference in New Issue
Block a user