Most of binutils now compiles at WARNS=3, except for libiberty and

libbfd, which still need WARNS=2.
This commit is contained in:
dim 2010-10-22 20:46:08 +00:00
parent 05c8f27311
commit 926cfb4a95
13 changed files with 1 additions and 14 deletions

View File

@ -6,7 +6,6 @@
PROG= addr2line
SRCS= addr2line.c
WARNS?= 2
CFLAGS+= -D_GNU_SOURCE
CFLAGS+= -I${.CURDIR}/${RELTOP}/libbinutils
CFLAGS+= -I${SRCDIR}/binutils

View File

@ -3,8 +3,6 @@
# BINDIR
.include "${.CURDIR}/../../Makefile.inc"
WARNS?= 2
NO_WERROR=
.include "${.CURDIR}/../Makefile.inc0"
.PATH: ${SRCDIR}/gas ${SRCDIR}/gas/config

View File

@ -26,7 +26,6 @@ SRCS+= ldcref.c \
lexsup.c \
mri.c
WARNS?= 0 # ldemul.h problem (`struct option' declared inside parameter list)
CFLAGS+= -DTARGET=\"${TARGET_TUPLE}\"
CFLAGS+= -DDEFAULT_EMULATION=\"${NATIVE_EMULATION}\"
CFLAGS+= -DSCRIPTDIR=\"${TOOLS_PREFIX}/usr/libdata\"

View File

@ -41,7 +41,6 @@ SRCS+= archive.c \
targets.c \
targmatch.h \
tekhex.c
WARNS?= 0
.if (${TARGET_ARCH} == "ia64" || ${TARGET_ARCH} == "sparc64")
WARNS?= 2
.endif

View File

@ -23,7 +23,6 @@ SRCS+= arlex.l \
unwind-ia64.c \
version.c \
wrstabs.c
WARNS?= 0
CFLAGS+= -DTARGET=\"${TARGET_TUPLE}\"
CFLAGS+= -DBFD_VERSION_STRING=\"${VERSION}\"
CFLAGS+= -D_GNU_SOURCE

View File

@ -34,7 +34,7 @@ SRCS= argv.c \
# The following files are needed by gdb(1)
SRCS+= splay-tree.c
WARNS?= 1
WARNS?= 2
CFLAGS+= -DHAVE_CONFIG_H
INTERNALLIB=

View File

@ -6,7 +6,6 @@
PROG= nm
SRCS= nm.c
WARNS?= 2
CFLAGS+= -D_GNU_SOURCE
CFLAGS+= -I${.CURDIR}/${RELTOP}/libbinutils
CFLAGS+= -I${SRCDIR}/bfd

View File

@ -6,7 +6,6 @@
PROG= objcopy
SRCS= objcopy.c not-strip.c
WARNS?= 2
CFLAGS+= -D_GNU_SOURCE
CFLAGS+= -I${.CURDIR}/${RELTOP}/libbinutils
CFLAGS+= -I${SRCDIR}/binutils -I${SRCDIR}/bfd

View File

@ -6,7 +6,6 @@
PROG= objdump
SRCS= objdump.c prdbg.c
WARNS?= 1
CFLAGS+= -D_GNU_SOURCE
CFLAGS+= -I${.CURDIR}/${RELTOP}/libbinutils
CFLAGS+= -I${SRCDIR}/binutils

View File

@ -9,7 +9,6 @@ BINDIR=/usr/bin
PROG= readelf
SRCS= ${PROG}.c
WARNS?= 0
CFLAGS+= -D_GNU_SOURCE
CFLAGS+= -I${.CURDIR}/${RELTOP}/libbinutils -I${SRCDIR}/binutils

View File

@ -6,7 +6,6 @@
PROG= size
SRCS= size.c
WARNS?= 2
CFLAGS+= -D_GNU_SOURCE
CFLAGS+= -I${.CURDIR}/${RELTOP}/libbinutils
CFLAGS+= -I${SRCDIR}/binutils

View File

@ -6,7 +6,6 @@
PROG= strings
SRCS= strings.c
WARNS?= 2
CFLAGS+= -D_GNU_SOURCE
CFLAGS+= -I${.CURDIR}/${RELTOP}/libbinutils
CFLAGS+= -I${SRCDIR}/binutils

View File

@ -6,7 +6,6 @@
PROG= strip
SRCS= objcopy.c is-strip.c
WARNS?= 2
CFLAGS+= -D_GNU_SOURCE
CFLAGS+= -I${.CURDIR}/${RELTOP}/libbinutils
CFLAGS+= -I${SRCDIR}/binutils -I${SRCDIR}/bfd