Quellcode durchsuchen

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

pull/812/head
Yamashita, Yuu vor 7 Jahren
Ursprung
Commit
0464221edb
1 geänderte Dateien mit 2 neuen und 0 gelöschten Zeilen
  1. +2
    -0
      plugins/python-build/bin/python-build

+ 2
- 0
plugins/python-build/bin/python-build Datei anzeigen

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

Laden…
Abbrechen
Speichern