aboutsummaryrefslogtreecommitdiffstats
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:01:27 -0500
commit77ede41d27a99d245473707e1baf5f9f6290411a (patch)
tree6173eae2ee96dbe2cf82d597b978d582718fc6af
parent324542d6889c8501002b6fc14ac81ffd4ae305ef (diff)
Remove reverted header change and enable optimizations.
-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 &&