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

@@ -53,10 +53,12 @@
 LLDFLAGS64 =    $(VAR_ELFDUMP_LLDFLAGS64)
 LDFLAGS +=      $(VERSREF) $(CC_USE_PROTO) $(MAPOPT) $(LLDFLAGS)
 LDLIBS +=       $(ELFLIBDIR) -lelf $(LDDBGLIBDIR) $(LDDBG_LIB) \
                     $(CONVLIBDIR) $(CONV_LIB)
 
+NATIVE_LDFLAGS = $(LDCHECKS) -Bdirect -zassert-deflib=libc.so
+
 LINTFLAGS +=    -x
 LINTFLAGS64 +=  -x
 
 CERRWARN +=     -_gcc=-Wno-uninitialized