Print this page
9852 enable ld(1) guidance and deflib assertions for the illumos build

@@ -78,11 +78,12 @@
 $(NATIVE_BUILD)CC =     $(NATIVECC)
 $(NATIVE_BUILD)LD =     $(NATIVELD)
 $(NATIVE_BUILD)CFLAGS = $(NATIVE_CFLAGS)
 $(NATIVE_BUILD)CPPFLAGS = $(MYCPPFLAGS) -I$(LIBUUTIL)/common -I$(LIBSCF)/inc
 $(NATIVE_BUILD)CPPFLAGS += -DNATIVE_BUILD
-$(NATIVE_BUILD)LDFLAGS =
+$(NATIVE_BUILD)LDFLAGS += -Bdirect
+$(NATIVE_BUILD)NATIVE_LIBS = libumem.so libbsm.so libc.so
 $(NATIVE_BUILD)LDLIBS = -L$(ADJUNCT_PROTO)/usr/lib -R$(ADJUNCT_PROTO)/usr/lib \
                         -L$(LIBUUTIL)/native -R $(LIBUUTIL)/native $(MYLDLIBS)
 
 DIRMODE = 0755
 FILEMODE = 0555