25202159 smbclient fails with Not enough '\' characters in service on x86 S11.3.14.6 s11u3-sru
authorJiri Sasek <Jiri.Sasek@Oracle.COM>
Wed, 04 Jan 2017 08:50:00 -0800
branchs11u3-sru
changeset 7603 1ab055abee21
parent 7602 d86d5487437f
child 7615 607e0cb437f1
25202159 smbclient fails with Not enough '\' characters in service on x86 S11.3.14.6 25309936 nmblookup in samba 4.4.5 has errors on x86 but works on sparc
components/samba/Makefile
--- a/components/samba/Makefile	Tue Dec 20 05:20:38 2016 -0800
+++ b/components/samba/Makefile	Wed Jan 04 08:50:00 2017 -0800
@@ -20,23 +20,21 @@
 #
 
 #
-# Copyright (c) 2011, 2016, Oracle and/or its affiliates. All rights reserved.
+# Copyright (c) 2011, 2017, Oracle and/or its affiliates. All rights reserved.
 #
 
 include ../../make-rules/shared-macros.mk
 
-# Samba uses gcc-like structure members initialization
-# ...so solarisstudio12.1 (default in 11.3) fails to compile Samba
-override SPRO_VROOT = $(SPRO_ROOT)/solarisstudio12.4
-
-# Samba does not work properly on i386 when built by studio with -xO3+.
-ifeq ($(MACH), sparc)
-WAFOPT1	= -j 32
-else
-WAFOPT1	= -j 64
 # Both SPRO_VROOT and studio_OPT vars must use the override keyword otherwise
 # Userland will ignore it and use its default value.
-override studio_OPT = -xO1
+override SPRO_VROOT= /ws/on12-tools/SUNWspro/developerstudio12.5
+
+# WAF supports huge parallelism but on build only
+WAFOPT1 = -j64
+
+ifeq ($(MACH), i386)
+# Samba does not work properly on i386 when built by studio with -xO3 and upper
+override studio_OPT = -xO2
 endif
 
 # parfait seems to spin on us