summaryrefslogtreecommitdiff
path: root/hints/os390.sh
diff options
context:
space:
mode:
authorJarkko Hietaniemi <jhi@iki.fi>2001-11-05 14:54:37 +0000
committerJarkko Hietaniemi <jhi@iki.fi>2001-11-05 14:54:37 +0000
commit965a5e93b44f682e7eb38d20bcbc5430bf019de1 (patch)
treef6887a205bc66c021d0bbd4f377f2c5ecc48c2f0 /hints/os390.sh
parent48370efcca9e507f1a6469e04f98fc208af66403 (diff)
downloadperl-965a5e93b44f682e7eb38d20bcbc5430bf019de1.tar.gz
Use config.arch in OS/390 where the combination of
IEEE floats and ldflags is tricky. p4raw-id: //depot/perl@12853
Diffstat (limited to 'hints/os390.sh')
-rw-r--r--hints/os390.sh6
1 files changed, 6 insertions, 0 deletions
diff --git a/hints/os390.sh b/hints/os390.sh
index 4eff5a8217..0273b323e5 100644
--- a/hints/os390.sh
+++ b/hints/os390.sh
@@ -203,3 +203,9 @@ EOWARN
fi
fi
+cat >config.arch<<'__CONFIG_ARCH__'
+# The '-W 0,float(ieee)' cannot be used during Configure as ldflags.
+
+ldflags="$ldflags -W 0,float\(ieee\)"
+
+__CONFIG_ARCH__