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

@@ -51,11 +51,13 @@
 CFLAGS =                $(NATIVE_CFLAGS)
 CPPFLAGS=               -D_TS_ERRNO
 ELFSIGN_O=              $(TRUE)
 LDLIBS=
 LDFLAGS=                $(MAPFILE.NES:%=-M%) $(MAPFILE.NED:%=-M%) \
-                            $(MAPFILE.PGA:%=-M%)
+                            $(MAPFILE.PGA:%=-M%) \
+                            -B direct
+NATIVE_LIBS=            libc.so
 
 ROOTONBLDPROG=          $(PROG:%=$(ROOTONBLDBIN)/%)
 ROOTONBLDMACHPROG=      $(PROG:%=$(ROOTONBLDBINMACH)/%)
 ROOTONBLDSHFILES=       $(SHFILES:%=$(ROOTONBLDBIN)/%)
 ROOTONBLDMAKEFILES=     $(MAKEFILES:%=$(ROOTONBLDBIN)/%)