Specify -O0 when --debug has specified (fixes #808)

This commit is contained in:
Yamashita, Yuu 2017-01-16 01:22:04 +00:00
parent 4d96271113
commit 0464221edb

View file

@ -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