mirror of
https://github.com/fluencelabs/musl
synced 2025-05-05 20:12:14 +00:00
remove optimization-inhibiting behavior from configure's --enable-debug
this behavior turned out to be counter-intuitive to users and in any case it's unnecessary. optimization can be disabled explicitly using the --disable-optimize option, or both can be achieved without any enable/disable options by passing CFLAGS="-O0 -g".
This commit is contained in:
parent
fe82bb9b92
commit
4ad3588c0e
7
configure
vendored
7
configure
vendored
@ -298,12 +298,9 @@ fi
|
|||||||
tryflag CFLAGS_MEMOPS -fno-tree-loop-distribute-patterns
|
tryflag CFLAGS_MEMOPS -fno-tree-loop-distribute-patterns
|
||||||
|
|
||||||
#
|
#
|
||||||
# If debugging is explicitly enabled, don't auto-enable optimizations
|
# Enable debugging if requessted.
|
||||||
#
|
#
|
||||||
if test "$debug" = yes ; then
|
test "$debug" = yes && CFLAGS_AUTO=-g
|
||||||
CFLAGS_AUTO=-g
|
|
||||||
test "$optimize" = auto && optimize=no
|
|
||||||
fi
|
|
||||||
|
|
||||||
#
|
#
|
||||||
# Possibly add a -O option to CFLAGS and select modules to optimize with
|
# Possibly add a -O option to CFLAGS and select modules to optimize with
|
||||||
|
Loading…
x
Reference in New Issue
Block a user