Description: Stop ./configure from stripping out -g from CFLAGS Author: Andreas Metzler , Simon Ruderich Origin: vendor Last-Update: 2021-07-27 --- a/configure +++ b/configure @@ -4098,7 +4098,7 @@ test -z "$ORIGINAL_CFLAGS" && CFLAGS=`echo "${CFLAGS}" | sed -e 's%-g %%' -e 's%-g$%%' -e 's%[ ]% %g' -e 's% [ ]*% %g' -e 's%^ %%' -e 's% $%%'` ;; (*) - test -z "$ORIGINAL_CFLAGS" && CFLAGS=`echo "${CFLAGS}" | sed -e 's%-g %%' -e 's%-g$%%' -e 's%[ ]% %g' -e 's% [ ]*% %g' -e 's%^ %%' -e 's% $%%'` + : ;; esac fi