summaryrefslogtreecommitdiffstats
path: root/BeOS/ar-fake
diff options
context:
space:
mode:
authorGuido van Rossum <guido@python.org>1999-03-24 17:48:12 (GMT)
committerGuido van Rossum <guido@python.org>1999-03-24 17:48:12 (GMT)
commit6b9da45969b639172430205869f553eca579f007 (patch)
tree47609230826e2224c2f05b8c500fc2f53a9f796b /BeOS/ar-fake
parente7de2061b405d93cd5fa55c553d6cfc51bfb853e (diff)
downloadcpython-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/ar-fake')
-rwxr-xr-xBeOS/ar-fake5
1 files changed, 4 insertions, 1 deletions
diff --git a/BeOS/ar-fake b/BeOS/ar-fake
index 687a9b5..b4f5996 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"
;;