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

@@ -42,10 +42,12 @@
 COMOBJS=
 
 NATOBJS=        piglatin.o
 
 OBJECTS=        $(COMOBJS)  $(NATOBJS)
+NATIVECC_CFLAGS = -O
+NATIVE_LDFLAGS = $(LDCHECKS) -zassert-deflib=libc.so -Bdirect
 
 AVLOBJ=         avl.o
 TOOL_OBJS=      sgsmsg.o string_table.o findprime.o assfail.o
 SGSMSG_OBJS=    $(TOOL_OBJS) $(AVLOBJ)
 SGSMSG_SRCS=    $(TOOL_OBJS:%.o=../common/%.c) \