diff options
author | Guido van Rossum <guido@python.org> | 1999-03-24 17:48:12 +0000 |
---|---|---|
committer | Guido van Rossum <guido@python.org> | 1999-03-24 17:48:12 +0000 |
commit | 68e6b23f3a5ed48f91c97ef49e61b765b4dfabe8 (patch) | |
tree | 98cfdcebcb57308e2ddc70f0a7b76db297f0e728 /BeOS | |
parent | 061f78668fa187c3754e21d8dff28f1388ee6751 (diff) | |
download | cpython-68e6b23f3a5ed48f91c97ef49e61b765b4dfabe8.tar.gz |
Chris Herborth: the new compiler in R4.1 needs some new options to work...
Diffstat (limited to 'BeOS')
-rwxr-xr-x | BeOS/ar-fake | 5 | ||||
-rwxr-xr-x | BeOS/linkmodule | 5 |
2 files changed, 8 insertions, 2 deletions
diff --git a/BeOS/ar-fake b/BeOS/ar-fake index 687a9b5ff5..b4f5996c58 100755 --- a/BeOS/ar-fake +++ b/BeOS/ar-fake @@ -57,7 +57,10 @@ build_lib() { case $BE_HOST_CPU in ppc) - AR_CC="mwcc -xms -export pragma -nodup" + case $(uname -r) in + 4.0*) AR_CC="mwcc -xms -export pragma -nodup" ;; + *) AR_CC="mwcc -shared -export pragma -nodup" ;; + esac GLUE_LOC=/boot/develop/lib/ppc AR_GLUE="${GLUE_LOC}/glue-noinit.a ${GLUE_LOC}/init_term_dyn.o ${GLUE_LOC}/start_dyn.o" ;; diff --git a/BeOS/linkmodule b/BeOS/linkmodule index 575f2bd248..103882a720 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) |