diff options
author | Eduardo Chappa <chappa@washington.edu> | 2021-10-04 22:00:14 -0600 |
---|---|---|
committer | Eduardo Chappa <chappa@washington.edu> | 2021-10-04 22:00:14 -0600 |
commit | 52d9d31265899fc6805dceb0f64cdd03b06995a8 (patch) | |
tree | 37ecf40fe8aa60893583bcda870cd66a0ec562e8 /configure | |
parent | 76da583d4aa4600148048c4cb025d9248d41326c (diff) | |
download | alpine-52d9d31265899fc6805dceb0f64cdd03b06995a8.tar.xz |
* the option --disable-optimization to the configure script does not
eliminate optimization if it comes from the CFLAGS variable. This
commit fixes that.
Diffstat (limited to 'configure')
-rwxr-xr-x | configure | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -15185,7 +15185,8 @@ if test x$enable_optimization != "xno" ; then { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 $as_echo "yes" >&6; } else - C_FLAGS="`echo $AM_CFLAGS | ${SED} 's/-O2//'`" + CFLAGS="`echo $CFLAGS | ${SED} 's/-O2//g'`" + C_FLAGS="`echo $AM_CFLAGS | ${SED} 's/-O2//g'`" CFLAGS="$CFLAGS $C_FLAGS" alpine_c_client_gccoptlevel="-O0" { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |