mirror of
https://github.com/pyenv/pyenv.git
synced 2025-11-10 12:33:48 -05:00
Specify -O0 when --debug has specified (fixes #808)
This commit is contained in:
@@ -1783,6 +1783,8 @@ for option in "${OPTIONS[@]}"; do
|
||||
;;
|
||||
"g" | "debug" )
|
||||
DEBUG=true
|
||||
# Disable optimization (#808)
|
||||
PYTHON_CFLAGS="-O0 ${PYTHON_CFLAGS}"
|
||||
;;
|
||||
"4" | "ipv4")
|
||||
IPV4=true
|
||||
|
||||
Reference in New Issue
Block a user