summaryrefslogtreecommitdiff
path: root/hints
diff options
context:
space:
mode:
authorKurt D. Starsinic <kstar@wolfetech.com>1998-03-24 04:25:10 -0800
committerMalcolm Beattie <mbeattie@sable.ox.ac.uk>1998-04-02 15:50:58 +0000
commit37c4c505728276584b89daeb2ad8f23e5854c653 (patch)
tree103f74133b477c26e1ca87b2f60f5b990568a363 /hints
parent3046dd9f116f33f5638c83eda2e9d417ecb704b6 (diff)
downloadperl-37c4c505728276584b89daeb2ad8f23e5854c653.tar.gz
hints/irix_6.sh with GCC
p4raw-id: //depot/perl@851
Diffstat (limited to 'hints')
-rw-r--r--hints/irix_6.sh7
1 files changed, 7 insertions, 0 deletions
diff --git a/hints/irix_6.sh b/hints/irix_6.sh
index ed3c112ffa..9b54d2b842 100644
--- a/hints/irix_6.sh
+++ b/hints/irix_6.sh
@@ -23,6 +23,8 @@
# Threaded by Jarkko Hietaniemi <jhi@iki.fi> on 11/18/97
# - POSIX threads knowledge by IRIX version
+# gcc-enabled by Kurt Starsinic <kstar@isinet.com> on 3/24/1998
+
# Use sh Configure -Dcc='cc -n32' to try compiling with -n32.
# or -Dcc='cc -n32 -mips3' (or -mips4) to force (non)portability
# Don't bother with -n32 unless you have the 7.1 or later compilers.
@@ -76,6 +78,11 @@ case "$cc" in
nm_opt='-p'
nm_so_opt='-p'
;;
+*gcc*)
+ ccflags="$ccflags -D_BSD_TYPES -D_BSD_TIME -D_POSIX_C_SOURCE"
+ optimize="-O3"
+ usenm='undef'
+ ;;
*)
# this is needed to force the old-32 paths
# since the system default can be changed.