Print this page
11461 should use a native link-editor during the build
11463 SUNWonld has passed its use-by date
11464 cmd/sgs/tools should contain tools, not common code
11465 sgsmsg should be built with the rest of the build tools

@@ -66,11 +66,11 @@
         pro_types.o             \
         pro_vars.o              \
         pro_weaks.o
 
 include $(SRC)/lib/Makefile.lib
-
+include $(SRC)/tools/Makefile.tools
 
 FILEMODE =      0755
 SRCDIR =        $(SRC)/lib/libdwarf/common/
 SRCS =          $(PICS:%.o=$(SRCDIR)/%.c)
 

@@ -79,10 +79,11 @@
 CERRWARN +=     -_gcc=-Wno-implicit-function-declaration
 
 # libdwarf not clean
 SMATCH=off
 
+DYNFLAGS += '-R$$ORIGIN/../../lib/$(MACH)'
 LDLIBS = -lelf -lc
 
 .KEEP_STATE:
 .PARALLEL: