Print this page
9852 enable ld(1) guidance and deflib assertions for the illumos build
*** 53,62 ****
--- 53,64 ----
CPPFLAGS += -D_FILE_OFFSET_BITS=64
YFLAGS += -d
LDLIBS += -lm
LINTFLAGS += -u
CLEANFILES= maketab proctab.c awk.g.c awk.lx.c y.tab.h
+ NATIVELDFLAGS += -Bdirect $(LDCHECKS)
+ NATIVE_LIBS= libc.so # because this is a native tool
.KEEP_STATE:
all: $(PROG)
*** 75,85 ****
proctab.c: maketab
rm -f $@; ./maketab > $@
maketab: maketab.c
! $(NATIVECC) $(NATIVE_CFLAGS) maketab.c -o $@ $(LDLIBS)
install: all $(ROOTPROG) $(ROOTLINK)
clean:
$(RM) $(OBJS) $(CLEANFILES)
--- 77,87 ----
proctab.c: maketab
rm -f $@; ./maketab > $@
maketab: maketab.c
! $(NATIVECC) $(NATIVE_CFLAGS) -O maketab.c -o $@ $(NATIVELDFLAGS)
install: all $(ROOTPROG) $(ROOTLINK)
clean:
$(RM) $(OBJS) $(CLEANFILES)