summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorwtc%netscape.com <devnull@localhost>1999-06-21 21:52:52 +0000
committerwtc%netscape.com <devnull@localhost>1999-06-21 21:52:52 +0000
commit90849729df918b1b369d5ea7c363c1553982774a (patch)
tree39b37fbb61e3b9e52213123e46f4f8db007db6ce
parent9458edb6f955b83520133130ee106bcb7a1bc63e (diff)
downloadnspr-hg-90849729df918b1b369d5ea7c363c1553982774a.tar.gz
IRIX: -KPIC is the default and hence unnecessary. In o32 mode,
cc does not understand the -exceptions option, so specify that option only for the C++ compiler. Thanks to Brian Ostrom (briano@netscape.com) for the bug report.
-rw-r--r--lib/prstreams/Makefile3
1 files changed, 1 insertions, 2 deletions
diff --git a/lib/prstreams/Makefile b/lib/prstreams/Makefile
index b7eb711f..5467b99a 100644
--- a/lib/prstreams/Makefile
+++ b/lib/prstreams/Makefile
@@ -29,9 +29,8 @@ ifeq ($(OS_ARCH),SunOS)
endif
ifeq ($(OS_ARCH), IRIX)
- CFLAGS += -KPIC
ifneq ($(OS_RELEASE),5.3)
- CFLAGS += -exceptions
+ CCC_ONLY_FLAGS += -exceptions
endif
endif