summaryrefslogtreecommitdiff
path: root/ACE/include/makeinclude/platform_hpux_aCC.GNU
diff options
context:
space:
mode:
authorOssama Othman <ossama-othman@users.noreply.github.com>2007-02-21 22:31:47 +0000
committerOssama Othman <ossama-othman@users.noreply.github.com>2007-02-21 22:31:47 +0000
commit7dbf181d7c2031d7c945f60f4a3128976c367954 (patch)
tree96b604481c9ec7054bc7bc669d1d675cce9cd6bc /ACE/include/makeinclude/platform_hpux_aCC.GNU
parent9291cb30fdf7d60efc98288664901e7d77e5b450 (diff)
downloadATCD-7dbf181d7c2031d7c945f60f4a3128976c367954.tar.gz
ChangeLogTag:Wed Feb 21 19:27:14 UTC 2007 Ossama Othman <ossama_othman at symantec dot com>
Diffstat (limited to 'ACE/include/makeinclude/platform_hpux_aCC.GNU')
-rw-r--r--ACE/include/makeinclude/platform_hpux_aCC.GNU17
1 files changed, 17 insertions, 0 deletions
diff --git a/ACE/include/makeinclude/platform_hpux_aCC.GNU b/ACE/include/makeinclude/platform_hpux_aCC.GNU
index b794df1e43c..45184c092be 100644
--- a/ACE/include/makeinclude/platform_hpux_aCC.GNU
+++ b/ACE/include/makeinclude/platform_hpux_aCC.GNU
@@ -190,3 +190,20 @@ ifeq ($(threads),1)
endif
endif
LIBS += -lxti -lrt -ldld
+
+# The correct flags to pass to the linker for dynamic shared library
+# versioning
+#
+ifneq ($(SONAME),)
+ SOFLAGS += -Wl,+h -Wl,$(SONAME)
+endif
+
+# if _FILE_OFFSET_BITS==64 then the HP headers will produce
+# spurious 600 warnings, except on 11.23
+# Can also (possible) be fixed with patch PHKL_34670 on HP-UX 11.11
+#
+ifeq ($(64bitoffsets),1)
+ ifneq ($(HPUX_VERS), 1123)
+ CCFLAGS += +W600
+ endif
+endif