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.
This commit is contained in:
wtc%netscape.com 1999-06-21 21:52:52 +00:00
Родитель 9ebd39f7ae
Коммит 3661b983ad
1 изменённых файлов: 1 добавлений и 2 удалений

Просмотреть файл

@ -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