summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ACE/ChangeLog5
-rw-r--r--ACE/include/makeinclude/platform_sunos5_sunc++.GNU11
2 files changed, 13 insertions, 3 deletions
diff --git a/ACE/ChangeLog b/ACE/ChangeLog
index 78965f2f08f..a504c9b6181 100644
--- a/ACE/ChangeLog
+++ b/ACE/ChangeLog
@@ -1,3 +1,8 @@
+Sun Jun 28 14:33:10 UTC 2009 Johnny Willemsen <jwillemsen@remedy.nl>
+
+ * include/makeinclude/platform_sunos5_sunc++.GNU:
+ Fixed compile problem with SunStudio 12 Update 1
+
Sat Jun 27 00:55:10 UTC 2009 Johnny Willemsen <jwillemsen@remedy.nl>
* rpmbuild/ace-tao-ciao.spec:
diff --git a/ACE/include/makeinclude/platform_sunos5_sunc++.GNU b/ACE/include/makeinclude/platform_sunos5_sunc++.GNU
index 0c4663d5796..4119f0a4aa3 100644
--- a/ACE/include/makeinclude/platform_sunos5_sunc++.GNU
+++ b/ACE/include/makeinclude/platform_sunos5_sunc++.GNU
@@ -159,9 +159,14 @@ ifeq (C++ 5,$(findstring C++ 5,$(CC_VERSION)))
CFLAGS += -m64
LDFLAGS += -m64
else
- CFLAGS += -xarch=v9
- LDFLAGS += -xarch=v9
- endif
+ ifeq (C++ 5.10,$(findstring C++ 5.10,$(CC_VERSION)))
+ CFLAGS += -m64
+ LDFLAGS += -m64
+ else
+ CFLAGS += -xarch=v9
+ LDFLAGS += -xarch=v9
+ endif # C++ 5.10
+ endif # C++ 5.9
endif # C++ 5.8
endif # C++ 5.7
endif # buildbits