summaryrefslogtreecommitdiff
path: root/hints/posix-bc.sh
diff options
context:
space:
mode:
authorJarkko Hietaniemi <jhi@iki.fi>1999-08-01 22:41:41 +0000
committerJarkko Hietaniemi <jhi@iki.fi>1999-08-01 22:41:41 +0000
commit2c2d71f566f0a758d1486480f45158c0e70ea496 (patch)
treed67b3010ebaf6991b7398e97ccdf30af574880ac /hints/posix-bc.sh
parent11dc3f6843cdaab297302291339b779fc301b0f3 (diff)
downloadperl-2c2d71f566f0a758d1486480f45158c0e70ea496.tar.gz
Integrate with Sarathy. perl.h and util.c required manual resolving.
p4raw-id: //depot/cfgperl@3864
Diffstat (limited to 'hints/posix-bc.sh')
-rw-r--r--hints/posix-bc.sh9
1 files changed, 9 insertions, 0 deletions
diff --git a/hints/posix-bc.sh b/hints/posix-bc.sh
index 9c1ead52fd..ec21bc327e 100644
--- a/hints/posix-bc.sh
+++ b/hints/posix-bc.sh
@@ -13,6 +13,15 @@ ld='c89'
# C-Flags:
ccflags='-DPOSIX_BC -DUSE_PURE_BISON -D_XOPEN_SOURCE_EXTENDED'
+# Flags on a RISC-Host (SUNRISE):
+if [ -n "`bs2cmd SHOW-SYSTEM-INFO | egrep 'HSI-ATT.*TYPE.*SR'`" ]; then
+ echo
+ echo "Congratulations, you are running a machine with Sunrise CPUs."
+ echo "Let's hope you have the matching RISC compiler as well."
+ ccflags='-K risc_4000 -DPOSIX_BC -DUSE_PURE_BISON -D_XOPEN_SOURCE_EXTENDED'
+ ldflags='-K risc_4000'
+fi
+
# Turning on optimization breaks perl (CORE-DUMP):
optimize='none'