Skip to content
Snippets Groups Projects
Commit ac2edac78243 authored by Mathias De Mare's avatar Mathias De Mare
Browse files

packaging: use optimized python in RPMs

parent 32c655372dab
No related branches found
No related tags found
2 merge requests!1292Draft: 7.0rc preparation,!1229fix docker-rhel8 and docker-rhel9 targets
......@@ -66,7 +66,7 @@
PYPATH=$PWD/%{pythonname}
PYTHON_FULLPATH=$PYPATH/python3
cd $PYPATH
./configure --prefix=%{hgpyprefix} --with-ensurepip=install
./configure --prefix=%{hgpyprefix} --with-ensurepip=install --enable-optimizations --with-lto
make all %{?_smp_mflags}
# add a symlink and only refer to python3 from here on
ln -s python python3
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment