summaryrefslogtreecommitdiff
path: root/include/makeinclude/platform_irix6.x_sgic++.GNU
diff options
context:
space:
mode:
authorschmidt <douglascraigschmidt@users.noreply.github.com>2001-06-12 19:47:23 +0000
committerschmidt <douglascraigschmidt@users.noreply.github.com>2001-06-12 19:47:23 +0000
commitacda1919234808028b0bf5f812acb7b73716ba46 (patch)
tree8f5aaae27a381b476a25c3d7736ac22158ef98fd /include/makeinclude/platform_irix6.x_sgic++.GNU
parent8d40b91422e328d03a0cda9dc91a9cb92458aa52 (diff)
downloadATCD-acda1919234808028b0bf5f812acb7b73716ba46.tar.gz
ChangeLogTag:Tue Jun 12 11:07:18 2001 Douglas C. Schmidt <schmidt@tango.doc.wustl.edu>
Diffstat (limited to 'include/makeinclude/platform_irix6.x_sgic++.GNU')
-rw-r--r--include/makeinclude/platform_irix6.x_sgic++.GNU14
1 files changed, 12 insertions, 2 deletions
diff --git a/include/makeinclude/platform_irix6.x_sgic++.GNU b/include/makeinclude/platform_irix6.x_sgic++.GNU
index 7bddeb21869..ff6950ca52b 100644
--- a/include/makeinclude/platform_irix6.x_sgic++.GNU
+++ b/include/makeinclude/platform_irix6.x_sgic++.GNU
@@ -11,6 +11,9 @@ endif
ifeq (,$(optimize))
optimize = 1
endif
+ifeq (,$(threads))
+ threads = 1
+endif
include $(ACE_ROOT)/include/makeinclude/platform_irix6.x_common.GNU
@@ -23,7 +26,12 @@ LD = $(CXX)
# Basic flags
# In Irix 6.2 w/o the thread patches this macro should have no effect.
-CPPFLAGS += -D_SGI_MP_SOURCE
+ifeq ($(threads),1)
+ CPPFLAGS += -D_SGI_MP_SOURCE
+else
+ CPPFLAGS += -DACE_MT_SAFE=0
+endif
+
OCCFLAGS += -O -OPT:Olimit=0
DCCFLAGS += -g
@@ -53,7 +61,9 @@ LDFLAGS += -Wl,-woff,133
# You need to remove this if you are using 6.2 without the Pthread
# patches or if you want to compile without threads support.
ifndef DONT_LINK_PTHREADS
- LIBS += -lpthread
+ifeq ($(threads),1)
+ LIBS += -lpthread
+endif
endif
PIC = -KPIC