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

@@ -44,10 +44,12 @@
 CPPFLAGS = -I../../common
 CFLAGS += $(CCVERBOSE)
 CERRWARN += -_gcc=-Wno-uninitialized
 LDFLAGS =
 LDLIBS  = -lelf
+LDFLAGS += -Bdirect
+NATIVE_LIBS = libelf.so libc.so
 
 LINTFILES = $(SRCS:%.c=%.ln)
 
 install all: $(PROG)