Apply WITH_PIE changes to other binutils components
Followon to r345489, explicitly specified bare .a libraries need ${PIE_SUFFIX} (although these still built). MFC with: r345489
This commit is contained in:
parent
bce37ebc34
commit
07c9bf2a44
@ -95,9 +95,9 @@ CFLAGS+= -I${.CURDIR} -I${.CURDIR}/${TARGET_CPUARCH}-freebsd
|
||||
NO_SHARED?= yes
|
||||
.endif
|
||||
|
||||
DPADD= ${GNURELTOP}/libbfd/libbfd.a
|
||||
DPADD+= ${GNURELTOP}/libiberty/libiberty.a
|
||||
DPADD+= ${GNURELTOP}/libopcodes/libopcodes.a
|
||||
DPADD= ${GNURELTOP}/libbfd/libbfd${PIE_SUFFIX}.a
|
||||
DPADD+= ${GNURELTOP}/libiberty/libiberty${PIE_SUFFIX}.a
|
||||
DPADD+= ${GNURELTOP}/libopcodes/libopcodes${PIE_SUFFIX}.a
|
||||
LDADD= ${DPADD}
|
||||
|
||||
.include <bsd.prog.mk>
|
||||
|
@ -51,8 +51,8 @@ CFLAGS+= -I${SRCDIR}/ld -I${SRCDIR}/bfd
|
||||
.if ${MK_SHARED_TOOLCHAIN} == "no"
|
||||
NO_SHARED?= yes
|
||||
.endif
|
||||
DPADD= ${GNURELTOP}/libbfd/libbfd.a
|
||||
DPADD+= ${GNURELTOP}/libiberty/libiberty.a
|
||||
DPADD= ${GNURELTOP}/libbfd/libbfd${PIE_SUFFIX}.a
|
||||
DPADD+= ${GNURELTOP}/libiberty/libiberty${PIE_SUFFIX}.a
|
||||
LDADD= ${DPADD}
|
||||
CLEANDIRS+= ldscripts
|
||||
CLEANFILES+= ldemul-list.h stringify.sed
|
||||
|
@ -9,9 +9,9 @@ SRCS= objcopy.c not-strip.c
|
||||
CFLAGS+= -D_GNU_SOURCE
|
||||
CFLAGS+= -I${.CURDIR}/${GNURELTOP}/libbinutils
|
||||
CFLAGS+= -I${SRCDIR}/binutils -I${SRCDIR}/bfd
|
||||
DPADD= ${GNURELTOP}/libbinutils/libbinutils.a
|
||||
DPADD+= ${GNURELTOP}/libbfd/libbfd.a
|
||||
DPADD+= ${GNURELTOP}/libiberty/libiberty.a
|
||||
DPADD= ${GNURELTOP}/libbinutils/libbinutils${PIE_SUFFIX}.a
|
||||
DPADD+= ${GNURELTOP}/libbfd/libbfd${PIE_SUFFIX}.a
|
||||
DPADD+= ${GNURELTOP}/libiberty/libiberty${PIE_SUFFIX}.a
|
||||
LDADD= ${DPADD}
|
||||
|
||||
.include <bsd.prog.mk>
|
||||
|
Loading…
Reference in New Issue
Block a user