summaryrefslogtreecommitdiff
path: root/usr/src/tools/ctf/dwarf/Makefile.com
diff options
context:
space:
mode:
Diffstat (limited to 'usr/src/tools/ctf/dwarf/Makefile.com')
-rw-r--r--usr/src/tools/ctf/dwarf/Makefile.com4
1 files changed, 2 insertions, 2 deletions
diff --git a/usr/src/tools/ctf/dwarf/Makefile.com b/usr/src/tools/ctf/dwarf/Makefile.com
index 3f043681cb..886be7d853 100644
--- a/usr/src/tools/ctf/dwarf/Makefile.com
+++ b/usr/src/tools/ctf/dwarf/Makefile.com
@@ -96,7 +96,7 @@ FILEMODE = 0755
SRCDIR = $(SRC)/lib/libdwarf/common/
SRCS = $(PICS:%.o=$(SRCDIR)/%.c)
-CPPFLAGS += -I$(SRCDIR) -DELF_TARGET_ALL=1
+CPPFLAGS += -I$(ADJUNCT_PROTO)/usr/include -I$(SRCDIR) -DELF_TARGET_ALL=1
CERRWARN += -_gcc=-Wno-unused
CERRWARN += -_gcc=-Wno-implicit-function-declaration
@@ -104,7 +104,7 @@ CERRWARN += -_gcc=-Wno-implicit-function-declaration
SMATCH=off
DYNFLAGS += '-R$$ORIGIN/../../lib/$(MACH)'
-LDLIBS = -lelf -lc -lz
+LDLIBS = -L$(ADJUNCT_PROTO)/lib -R$(ADJUNCT_PROTO)/lib -lelf -lc -lz
NATIVE_LIBS += libelf.so libc.so libz.so
.KEEP_STATE: