svn commit: r295582 - head/usr.bin/elfcopy
Ed Maste
emaste at FreeBSD.org
Fri Feb 12 21:15:33 UTC 2016
Author: emaste
Date: Fri Feb 12 21:15:31 2016
New Revision: 295582
URL: https://svnweb.freebsd.org/changeset/base/295582
Log:
elfcopy: enable PE and EFI support
Sponsored by: The FreeBSD Foundation
Modified:
head/usr.bin/elfcopy/Makefile
Modified: head/usr.bin/elfcopy/Makefile
==============================================================================
--- head/usr.bin/elfcopy/Makefile Fri Feb 12 21:12:47 2016 (r295581)
+++ head/usr.bin/elfcopy/Makefile Fri Feb 12 21:15:31 2016 (r295582)
@@ -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
More information about the svn-src-all
mailing list