summaryrefslogtreecommitdiff
path: root/configure
diff options
context:
space:
mode:
authorXavier Leroy <xavier.leroy@inria.fr>2006-06-13 11:54:02 +0000
committerXavier Leroy <xavier.leroy@inria.fr>2006-06-13 11:54:02 +0000
commitf0532ce985cbe94e911f97621cd4193c94de13d1 (patch)
tree1143c1c18cde7c528caf0db4d42c05fa865237b9 /configure
parentc1743d099f214194fa3d04637aa6b6aeead0163f (diff)
downloadocaml-f0532ce985cbe94e911f97621cd4193c94de13d1.tar.gz
Portage PPC64
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@7439 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure4
1 files changed, 4 insertions, 0 deletions
diff --git a/configure b/configure
index 91978fb6f7..7adb421512 100755
--- a/configure
+++ b/configure
@@ -250,6 +250,10 @@ case "$bytecc,$host" in
# Almost the same as rhapsody
bytecccompopts="-fno-defer-pop -no-cpp-precomp $gcc_warnings"
mathlib="";;
+ if $arch64; then
+ # Tell gcc that we can use 32-bit code addresses for threaded code
+ echo "#define ARCH_CODE32" >> m.h
+ fi;;
*,*-*-beos*)
bytecccompopts="-fno-defer-pop $gcc_warnings"
# No -lm library