summaryrefslogtreecommitdiffstats
path: root/Makefile.pre.in
diff options
context:
space:
mode:
authorJack Jansen <jack.jansen@cwi.nl>2003-01-20 10:47:48 (GMT)
committerJack Jansen <jack.jansen@cwi.nl>2003-01-20 10:47:48 (GMT)
commit0780e470dcba9d9b7307cbce7dcddd6053efaf53 (patch)
tree079a692b41c8403d09632445a41f6a9d43b25bad /Makefile.pre.in
parent7a503a4ee6551cc7f19ced60121985f3c5116c43 (diff)
downloadcpython-0780e470dcba9d9b7307cbce7dcddd6053efaf53.zip
cpython-0780e470dcba9d9b7307cbce7dcddd6053efaf53.tar.gz
cpython-0780e470dcba9d9b7307cbce7dcddd6053efaf53.tar.bz2
On MacOSX, added -prebind option to link phase for executable (and
framework, if applicable). This speeds up startup time by up to 50%.
Diffstat (limited to 'Makefile.pre.in')
-rw-r--r--Makefile.pre.in2
1 files changed, 2 insertions, 0 deletions
diff --git a/Makefile.pre.in b/Makefile.pre.in
index 63f03c4..361d8b2 100644
--- a/Makefile.pre.in
+++ b/Makefile.pre.in
@@ -107,6 +107,8 @@ PYTHONFRAMEWORK= @PYTHONFRAMEWORK@
PYTHONFRAMEWORKDIR= @PYTHONFRAMEWORKDIR@
PYTHONFRAMEWORKPREFIX= @PYTHONFRAMEWORKPREFIX@
PYTHONFRAMEWORKINSTALLDIR= @PYTHONFRAMEWORKINSTALLDIR@
+# Options to enable prebinding (for fast startup)
+OTHER_LIBTOOL_OPT = -prebind -seg1addr 0x10000000
# Environment to run shared python without installed libraries
RUNSHARED= @RUNSHARED@