aboutsummaryrefslogtreecommitdiffstats
path: root/chapter8/python.sh
diff options
context:
space:
mode:
authorWilliam Harrington <kb0iic@berzerkula.org>2021-06-03 11:01:27 -0500
committerWilliam Harrington <kb0iic@berzerkula.org>2021-06-03 11:09:00 -0500
commitf6e5ab2942b6bbcb37bbbbe7ded569a1eb376cb4 (patch)
treea7c5f8588d468ad58774e0706ec2429321fe5766 /chapter8/python.sh
parentb50c986739d9518ce5eb6fd90069428b7cd92a7a (diff)
Remove reverted header change and enable optimizations.
Diffstat (limited to 'chapter8/python.sh')
-rw-r--r--chapter8/python.sh5
1 files changed, 2 insertions, 3 deletions
diff --git a/chapter8/python.sh b/chapter8/python.sh
index 04af366..f807d53 100644
--- a/chapter8/python.sh
+++ b/chapter8/python.sh
@@ -1,13 +1,12 @@
#!/bin/bash
set -e
-sed 's|cpython/||' -i Include/cpython/pystate.h &&
-
./configure --prefix=/usr \
--enable-shared \
--with-system-expat \
--with-system-ffi \
- --with-ensurepip=yes &&
+ --with-ensurepip=yes \
+ --enable-optimizations &&
make &&