summaryrefslogtreecommitdiff
path: root/include/makeinclude/platform_tru64_cxx.GNU
diff options
context:
space:
mode:
Diffstat (limited to 'include/makeinclude/platform_tru64_cxx.GNU')
-rw-r--r--include/makeinclude/platform_tru64_cxx.GNU8
1 files changed, 8 insertions, 0 deletions
diff --git a/include/makeinclude/platform_tru64_cxx.GNU b/include/makeinclude/platform_tru64_cxx.GNU
index a8f08d5a155..62a95b3dd24 100644
--- a/include/makeinclude/platform_tru64_cxx.GNU
+++ b/include/makeinclude/platform_tru64_cxx.GNU
@@ -19,6 +19,14 @@ ifeq (5.,$(findstring 5.,$(ACE_DU_VERSION)))
SOFLAGS = -shared -use_ld_input $(ACELIB)
endif # ! 5.x
+### There is a bug with pthreads header file shipped with v1885 of
+### V5.1. We need to turn this flag to get asm () inline for
+### compilation.
+ifeq (1885,$(findstring 1885,$(ACE_DU_SUBVERSION)))
+ ifeq (6.,$(findstring 6.,$(CXX_VERSION)))
+ CPPFLAGS += -D_PTHREAD_ENV_DECCXX
+ endif # 6.x
+endif #v1885
# Include the common macros for all compilers
#