diff options
author | Guido van Rossum <guido@python.org> | 1999-03-24 17:48:12 (GMT) |
---|---|---|
committer | Guido van Rossum <guido@python.org> | 1999-03-24 17:48:12 (GMT) |
commit | 6b9da45969b639172430205869f553eca579f007 (patch) | |
tree | 47609230826e2224c2f05b8c500fc2f53a9f796b /BeOS/linkmodule | |
parent | e7de2061b405d93cd5fa55c553d6cfc51bfb853e (diff) | |
download | cpython-6b9da45969b639172430205869f553eca579f007.zip cpython-6b9da45969b639172430205869f553eca579f007.tar.gz cpython-6b9da45969b639172430205869f553eca579f007.tar.bz2 |
Chris Herborth: the new compiler in R4.1 needs some new options to work...
Diffstat (limited to 'BeOS/linkmodule')
-rwxr-xr-x | BeOS/linkmodule | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/BeOS/linkmodule b/BeOS/linkmodule index 575f2bd..103882a 100755 --- a/BeOS/linkmodule +++ b/BeOS/linkmodule @@ -53,7 +53,10 @@ case $BE_HOST_CPU in # Boy, do we need a lot of crap... GLUE_LOC=/boot/develop/lib/ppc GLUE="${GLUE_LOC}/glue-noinit.a ${GLUE_LOC}/init_term_dyn.o" - CC="mwcc -xms -export pragma -nodup" + case $(uname -r) in + 4.0*) CC="mwcc -xms -export pragma -nodup" ;; + *) CC="mwcc -shared -export pragma -nodup" ;; + esac ;; x86) |