summaryrefslogtreecommitdiffstats
path: root/usr.bin
diff options
context:
space:
mode:
authordim <dim@FreeBSD.org>2016-02-13 16:02:12 +0000
committerdim <dim@FreeBSD.org>2016-02-13 16:02:12 +0000
commitf393760a8a7c87242739a64002290b7bda94cb27 (patch)
treec08899f7a0f50404c030b4d36ab05e054a499796 /usr.bin
parent7024e27ddea8cff63ccd142987756cba5001628d (diff)
parent0a4cceb161dfcb232aa9f5d8664e017c2590e0d9 (diff)
downloadFreeBSD-src-f393760a8a7c87242739a64002290b7bda94cb27.zip
FreeBSD-src-f393760a8a7c87242739a64002290b7bda94cb27.tar.gz
Merge ^/head r295544 through r295600.
Diffstat (limited to 'usr.bin')
-rw-r--r--usr.bin/elfcopy/Makefile7
1 files changed, 4 insertions, 3 deletions
diff --git a/usr.bin/elfcopy/Makefile b/usr.bin/elfcopy/Makefile
index dc6dd47..0800a0c 100644
--- a/usr.bin/elfcopy/Makefile
+++ b/usr.bin/elfcopy/Makefile
@@ -17,13 +17,14 @@ CLEANFILES+= objcopy.1
PROG= elfcopy
.endif
-SRCS= archive.c ascii.c binary.c main.c sections.c segments.c symbols.c
+SRCS= archive.c ascii.c binary.c main.c pe.c sections.c segments.c symbols.c
WARNS?= 5
-LIBADD= archive elftc elf
+LIBADD= archive elftc elf pe
-CFLAGS+=-I${ELFTCDIR}/libelftc -I${ELFTCDIR}/common
+CFLAGS+=-I${ELFTCDIR}/libelftc -I${ELFTCDIR}/libpe -I${ELFTCDIR}/common
+CFLAGS+=-DWITH_PE=1
MAN= ${PROG}.1 strip.1
OpenPOWER on IntegriCloud