components/samba/Makefile
changeset 5682 94c0ca64c022
parent 5674 a5c5f8ac5f4b
child 5736 a37849cb0841
--- a/components/samba/Makefile	Wed Mar 30 10:16:56 2016 -0700
+++ b/components/samba/Makefile	Wed Mar 30 13:33:31 2016 -0700
@@ -67,8 +67,6 @@
 
 # directory to search for "include" in samba.p5m
 PKG_OPTIONS += -I $(COMPONENT_DIR)
-# Set the pkg... path to search files in ./Solaris/ dir (mainly the SMF manifests are there)
-PKG_PROTO_DIRS += $(COMPONENT_DIR)
 
 # Oracle HSM is not supported on 12.0 yet but the libsam.so target should rather be commented out than removed
 # (note) change compiler bitness here when Samba became 64bits
@@ -125,7 +123,7 @@
 $(BUILD_DIR_SMB)/.configured:	LDFLAGS +=	$(LIBS4SMBD)
 
 ASLR_MODE =	$(ASLR_ENABLE)
-LD_OPTIONS += 	-B direct
+LD_OPTIONS += 	$(LD_B_DIRECT)
 
 # --enable-fhs should not be on
 CONFIGURE_OPTIONS =	--exec-prefix=/usr