Browse Source

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

pull/812/head
Yamashita, Yuu 7 years ago
parent
commit
0464221edb
1 changed files with 2 additions and 0 deletions
  1. +2
    -0
      plugins/python-build/bin/python-build

+ 2
- 0
plugins/python-build/bin/python-build 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

Loading…
Cancel
Save