summaryrefslogtreecommitdiffstats
path: root/.travis.yml
diff options
context:
space:
mode:
authorINADA Naoki <methane@users.noreply.github.com>2018-02-10 11:35:17 (GMT)
committerGitHub <noreply@github.com>2018-02-10 11:35:17 (GMT)
commit8ff53564730f7ba503f5ad94418c309c48e8516d (patch)
tree608b50f4a5a3ae6098416d775b3b048ae1600b59 /.travis.yml
parent5df5286abda57a0b3865d4fc3e25aaf1a820ef49 (diff)
downloadcpython-8ff53564730f7ba503f5ad94418c309c48e8516d.zip
cpython-8ff53564730f7ba503f5ad94418c309c48e8516d.tar.gz
cpython-8ff53564730f7ba503f5ad94418c309c48e8516d.tar.bz2
travis: Use -O3 option (GH-5599)
We don't use debugger on Travis.
Diffstat (limited to '.travis.yml')
-rw-r--r--.travis.yml3
1 files changed, 2 insertions, 1 deletions
diff --git a/.travis.yml b/.travis.yml
index 98d6b9a..dd06887 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -15,7 +15,8 @@ env:
- OPENSSL=1.1.0g
- OPENSSL_DIR="$HOME/multissl/openssl/${OPENSSL}"
- PATH="${OPENSSL_DIR}/bin:$PATH"
- - CFLAGS="-I${OPENSSL_DIR}/include"
+ # Use -O3 because we don't use debugger on Travis-CI
+ - CFLAGS="-I${OPENSSL_DIR}/include -O3"
- LDFLAGS="-L${OPENSSL_DIR}/lib"
# Set rpath with env var instead of -Wl,-rpath linker flag
# OpenSSL ignores LDFLAGS when linking bin/openssl