Print this page
9852 enable ld(1) guidance and deflib assertions for the illumos build
*** 48,64 ****
NATIVEOBJS = $(NATIVEDIR)/makeprctab.o $(NATIVEDIR)/tmptoken.o
$(MAKEPRCTAB) := CC = $(NATIVECC)
$(MAKEPRCTAB) := POST_PROCESS=
$(MAKEPRCTAB) := POST_PROCESS_O=
CLEANFILES = proctab.c y.tab.h y.tab.c awk.h awk.g.c \
tmptoken.c awk.lx.c $(NATIVEOBJS) $(MAKEPRCTAB) \
temp
YFLAGS = -d
- XLDLIBS5CC += -lm
LDLIBS += -lm
CPPFLAGS = -I. $(CPPFLAGS.master)
CPPFLAGS += -D_FILE_OFFSET_BITS=64
ROOTLINK = $(LINKPROG:%=$(ROOTBIN)/%)
--- 48,64 ----
NATIVEOBJS = $(NATIVEDIR)/makeprctab.o $(NATIVEDIR)/tmptoken.o
$(MAKEPRCTAB) := CC = $(NATIVECC)
$(MAKEPRCTAB) := POST_PROCESS=
$(MAKEPRCTAB) := POST_PROCESS_O=
+ $(MAKEPRCTAB) := NATIVE_LIBS = libc.so
CLEANFILES = proctab.c y.tab.h y.tab.c awk.h awk.g.c \
tmptoken.c awk.lx.c $(NATIVEOBJS) $(MAKEPRCTAB) \
temp
YFLAGS = -d
LDLIBS += -lm
CPPFLAGS = -I. $(CPPFLAGS.master)
CPPFLAGS += -D_FILE_OFFSET_BITS=64
ROOTLINK = $(LINKPROG:%=$(ROOTBIN)/%)
*** 97,107 ****
proctab.c : $(MAKEPRCTAB)
$(RM) $@
$(MAKEPRCTAB) > $@
$(MAKEPRCTAB) : $(NATIVEDIR) $(NATIVEOBJS)
! $(LINK.c) $(NATIVEOBJS) -o $@ $(XLDLIBS5CC)
install : all $(ROOTPROG) $(ROOTLINK)
$(NATIVEDIR) :
-@mkdir -p $(NATIVEDIR)
--- 97,107 ----
proctab.c : $(MAKEPRCTAB)
$(RM) $@
$(MAKEPRCTAB) > $@
$(MAKEPRCTAB) : $(NATIVEDIR) $(NATIVEOBJS)
! $(LINK.c) $(NATIVEOBJS) -o $@
install : all $(ROOTPROG) $(ROOTLINK)
$(NATIVEDIR) :
-@mkdir -p $(NATIVEDIR)