Most of binutils now compiles at WARNS=3, except for libiberty and
libbfd, which still need WARNS=2.
This commit is contained in:
parent
05c8f27311
commit
926cfb4a95
@ -6,7 +6,6 @@
|
||||
|
||||
PROG= addr2line
|
||||
SRCS= addr2line.c
|
||||
WARNS?= 2
|
||||
CFLAGS+= -D_GNU_SOURCE
|
||||
CFLAGS+= -I${.CURDIR}/${RELTOP}/libbinutils
|
||||
CFLAGS+= -I${SRCDIR}/binutils
|
||||
|
@ -3,8 +3,6 @@
|
||||
|
||||
# BINDIR
|
||||
.include "${.CURDIR}/../../Makefile.inc"
|
||||
WARNS?= 2
|
||||
NO_WERROR=
|
||||
.include "${.CURDIR}/../Makefile.inc0"
|
||||
|
||||
.PATH: ${SRCDIR}/gas ${SRCDIR}/gas/config
|
||||
|
@ -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\"
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
@ -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=
|
||||
|
||||
|
@ -6,7 +6,6 @@
|
||||
|
||||
PROG= nm
|
||||
SRCS= nm.c
|
||||
WARNS?= 2
|
||||
CFLAGS+= -D_GNU_SOURCE
|
||||
CFLAGS+= -I${.CURDIR}/${RELTOP}/libbinutils
|
||||
CFLAGS+= -I${SRCDIR}/bfd
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
||||
|
@ -6,7 +6,6 @@
|
||||
|
||||
PROG= size
|
||||
SRCS= size.c
|
||||
WARNS?= 2
|
||||
CFLAGS+= -D_GNU_SOURCE
|
||||
CFLAGS+= -I${.CURDIR}/${RELTOP}/libbinutils
|
||||
CFLAGS+= -I${SRCDIR}/binutils
|
||||
|
@ -6,7 +6,6 @@
|
||||
|
||||
PROG= strings
|
||||
SRCS= strings.c
|
||||
WARNS?= 2
|
||||
CFLAGS+= -D_GNU_SOURCE
|
||||
CFLAGS+= -I${.CURDIR}/${RELTOP}/libbinutils
|
||||
CFLAGS+= -I${SRCDIR}/binutils
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user