aboutsummaryrefslogtreecommitdiff
path: root/gnu/usr.bin/binutils/ld/Makefile
diff options
context:
space:
mode:
authorDavid E. O'Brien <obrien@FreeBSD.org>2004-06-16 07:09:44 +0000
committerDavid E. O'Brien <obrien@FreeBSD.org>2004-06-16 07:09:44 +0000
commite223c68bfc26436d6e1e39202cf7262335ca1f7c (patch)
tree1d994d80dc9d835f3cdaf765535ae861867b19c9 /gnu/usr.bin/binutils/ld/Makefile
parent6311b38feebcbf3464740e188c9d50b161d9de6b (diff)
downloadsrc-e223c68bfc26436d6e1e39202cf7262335ca1f7c.tar.gz
src-e223c68bfc26436d6e1e39202cf7262335ca1f7c.zip
Updated Bmake framework for Binutils 2.15.
Notes
Notes: svn path=/head/; revision=130575
Diffstat (limited to 'gnu/usr.bin/binutils/ld/Makefile')
-rw-r--r--gnu/usr.bin/binutils/ld/Makefile5
1 files changed, 4 insertions, 1 deletions
diff --git a/gnu/usr.bin/binutils/ld/Makefile b/gnu/usr.bin/binutils/ld/Makefile
index 56f652e0949e..c33c79d32118 100644
--- a/gnu/usr.bin/binutils/ld/Makefile
+++ b/gnu/usr.bin/binutils/ld/Makefile
@@ -10,9 +10,12 @@ SRCS+= ldcref.c ldctor.c ldemul.c ldemul-list.h ldexp.c ldfile.c \
ldgram.y ldlang.c ldlex.l ldmain.c ldmisc.c \
ldver.c ldwrite.c lexsup.c mri.c
-WARNS?= 1
+WARNS?= 0 # ldemul.h problem (`struct option' declared inside parameter list)
CFLAGS+= -DSCRIPTDIR=\"${TOOLS_PREFIX}/usr/libdata\"
CFLAGS+= -DBFD_VERSION_STRING=\"${VERSION}\"
+CFLAGS+= -DBINDIR=\"${BINDIR}\" -DTARGET_SYSTEM_ROOT=\"${DESTDIR}\"
+CFLAGS+= -DTOOLBINDIR=\"${DESTDIR}/${BINDIR}/libexec\"
+CFLAGS+= -D_GNU_SOURCE
CFLAGS+= -I${SRCDIR}/ld -I${SRCDIR}/bfd
NOSHARED?= yes
DPADD= ${RELTOP}/libbfd/libbfd.a