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 /configure.in | |
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 'configure.in')
-rw-r--r-- | configure.in | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/configure.in b/configure.in index 3c7db27..fbb7f02 100644 --- a/configure.in +++ b/configure.in @@ -120,7 +120,10 @@ AC_ARG_WITH(gcc, [--without-gcc never use gcc], [ ppc) CC="mwcc -I$PWD/BeOS" without_gcc=yes - OPT="-DUSE_DL_EXPORT -O7 -opt schedule604" + case `uname -r` in + 4.0*) OPT="-DUSE_DL_EXPORT -O7 -opt schedule604 -export pragma" ;; + *) OPT="-DUSE_DL_EXPORT -O2 -proc 604e -export pragma" ;; + esac CCSHARED=-UUSE_DL_EXPORT LDFLAGS="$LDFLAGS -nodup" |