summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorwtc%netscape.com <devnull@localhost>1999-05-27 23:03:31 +0000
committerwtc%netscape.com <devnull@localhost>1999-05-27 23:03:31 +0000
commita94a9332034ac9c37798b34250d5067c371a1192 (patch)
tree186bd6c36bfcb4bbb126650adbd55eb632c69cfa
parentdac0376d4953cc4cd99933e33192de9cd1ec426d (diff)
downloadnspr-hg-a94a9332034ac9c37798b34250d5067c371a1192.tar.gz
Bugzilla bug #4471: specify -mips3 when compiling on IRIX 6.5,
otherwise it defaults to -mips4 if the build machine is mips4.
-rw-r--r--config/IRIX.mk3
1 files changed, 3 insertions, 0 deletions
diff --git a/config/IRIX.mk b/config/IRIX.mk
index 7c31b6c1..db26b010 100644
--- a/config/IRIX.mk
+++ b/config/IRIX.mk
@@ -119,6 +119,9 @@ OS_CFLAGS += -D_PR_HAVE_SGI_PRDA_PROCMASK
endif
ifeq (,$(filter-out 6.5,$(OS_RELEASE)))
+ifndef NS_USE_GCC
+OS_CFLAGS += -mips3
+endif
OS_CFLAGS += -D_PR_HAVE_GETPROTO_R -D_PR_HAVE_GETPROTO_R_POINTER
endif