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

@@ -146,11 +146,12 @@
 
 $(NATIVETARGETS) :=     CC = $(NATIVECC)
 $(NATIVETARGETS) :=     LD = $(NATIVELD)
 $(NATIVETARGETS) :=     CFLAGS = $(NATIVE_CFLAGS)
 $(NATIVETARGETS) :=     CPPFLAGS = $(MYCPPFLAGS)
-$(NATIVETARGETS) :=     LDFLAGS =
+$(NATIVETARGETS) :=     LDFLAGS = -B direct
+$(NATIVETARGETS) :=     NATIVE_LIBS = libc.so
 $(NATIVETARGETS) :=     LDLIBS = -lc
 
 $(OBJS) :=              CFLAGS += $(CTF_FLAGS)
 $(OBJS) :=              CTFCONVERT_POST = $(CTFCONVERT_O)