diff options
author | Stefan Behnel <stefan_ml@behnel.de> | 2021-07-17 00:44:35 +0200 |
---|---|---|
committer | Stefan Behnel <stefan_ml@behnel.de> | 2021-07-17 00:44:35 +0200 |
commit | 3706ce50e4006e7ad4d3065d6f18228ca59a20d7 (patch) | |
tree | 85c6c6b861e65e7fe12cc02dfbf0cc753cda2f38 | |
parent | 18d9ffebc0ed14dbdef7e2bb073a7dcf2b9d62eb (diff) | |
download | python-lxml-3706ce50e4006e7ad4d3065d6f18228ca59a20d7.tar.gz |
Use -flto for wheel builds.
-rw-r--r-- | tools/ci-run.sh | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/tools/ci-run.sh b/tools/ci-run.sh index e66e2e05..38f95547 100644 --- a/tools/ci-run.sh +++ b/tools/ci-run.sh @@ -61,6 +61,8 @@ CFLAGS="-Og -g -fPIC" PYTHONUNBUFFERED=x make test || exit 1 python setup.py install || exit 1 python -c "from lxml import etree" || exit 1 -CFLAGS="-O3 -g1 -march=generic -fPIC" make clean bdist_wheel || exit 1 +CFLAGS="-O3 -g1 -march=generic -fPIC -flto" \ + LDFLAGS="-flto" \ + make clean bdist_wheel || exit 1 ccache -s || true |