Переглянути джерело

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

pull/812/head
Yamashita, Yuu 7 роки тому
джерело
коміт
0464221edb
1 змінених файлів з 2 додано та 0 видалено
  1. +2
    -0
      plugins/python-build/bin/python-build

+ 2
- 0
plugins/python-build/bin/python-build Переглянути файл

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

Завантаження…
Відмінити
Зберегти