summaryrefslogtreecommitdiff
path: root/configure
diff options
context:
space:
mode:
authorEduardo Chappa <chappa@washington.edu>2021-05-08 10:41:05 -0600
committerEduardo Chappa <chappa@washington.edu>2021-05-08 10:41:05 -0600
commit2f953255a8c494e3033015eb064c6ecace9ffeda (patch)
tree9fe0ca9189579da1f216672f5afccb92dc9a09ce /configure
parent7ff6ecbd42b1e95696015ce07433097143fd9aeb (diff)
downloadalpine-2f953255a8c494e3033015eb064c6ecace9ffeda.tar.xz
* Compilation bug: Setting --disable-optimization during compilation
time erased the CFLAGS environment variable.
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure3
1 files changed, 2 insertions, 1 deletions
diff --git a/configure b/configure
index 4acb2721..94f581fb 100755
--- a/configure
+++ b/configure
@@ -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
- CFLAGS="`echo $AM_CFLAGS | ${SED} 's/-O2//'`"
+ C_FLAGS="`echo $AM_CFLAGS | ${SED} 's/-O2//'`"
+ CFLAGS="$CFLAGS $C_FLAGS"
alpine_c_client_gccoptlevel="-O0"
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
$as_echo "no" >&6; }