Turn up WARNS as high as possible.
Tested by: gcc31, gcc32, /usr/bin/cc
This commit is contained in:
parent
97430a03ac
commit
d1cc970280
@ -3,3 +3,4 @@
|
||||
#
|
||||
|
||||
BINDIR?= /usr/libexec/elf
|
||||
WARNS?= 3
|
||||
|
@ -6,6 +6,7 @@
|
||||
|
||||
PROG= addr2line
|
||||
SRCS= addr2line.c
|
||||
WARNS= 2
|
||||
CFLAGS+= -I${.CURDIR}/${RELTOP}/libbinutils
|
||||
CFLAGS+= -I${SRCDIR}/binutils
|
||||
DPADD= ${RELTOP}/libbinutils/libbinutils.a
|
||||
|
@ -13,6 +13,7 @@ SRCS+= app.c as.c atof-generic.c atof-ieee.c bignum-copy.c \
|
||||
input-scrub.c listing.c literal.c macro.c messages.c \
|
||||
output-file.c read.c sb.c stabs.c \
|
||||
subsegs.c symbols.c write.c depend.c ehopt.c
|
||||
WARNS= 2
|
||||
CFLAGS+= -I${SRCDIR}/gas -I${SRCDIR}/gas/config -I${SRCDIR} -I${.CURDIR}/..
|
||||
CFLAGS+= -DVERSION=\"${VERSION:C/[ ]?${VERSION_DATE}[ ]?//g}\"
|
||||
CFLAGS+= -DBFD_VERSION_STRING=\"${VERSION}\"
|
||||
|
@ -6,6 +6,7 @@
|
||||
|
||||
PROG= gasp
|
||||
SRCS+= gasp.c macro.c sb.c hash.c
|
||||
WARNS= 2
|
||||
CFLAGS+= -DBFD_ASSEMBLER
|
||||
CFLAGS+= -I${SRCDIR} -I${SRCDIR}/gas -I${SRCDIR}/gas/config
|
||||
CFLAGS+= -I${.CURDIR}/../as/${TARGET_ARCH}-freebsd -I${.CURDIR}/../as
|
||||
|
@ -33,6 +33,7 @@ SRCS+= wait.h
|
||||
.include "${.CURDIR}/Makefile.${MACHINE_ARCH}"
|
||||
.endif
|
||||
|
||||
WARNS= 0
|
||||
#CFLAGS+= -I${.CURDIR}/${RELTOP}/libbinutils
|
||||
CFLAGS+= -I${.CURDIR}/${MACHINE_ARCH}
|
||||
CFLAGS+= -I${SRCDIR}/binutils
|
||||
|
@ -18,6 +18,7 @@ elf-hints.h:
|
||||
ln -sf ${.CURDIR}/../../../../include/${.TARGET} .
|
||||
.endif
|
||||
|
||||
WARNS= 1
|
||||
CFLAGS+= -DSCRIPTDIR=\"${TOOLS_PREFIX}/usr/libdata\"
|
||||
CFLAGS+= -DBFD_VERSION_STRING=\"${VERSION}\"
|
||||
CFLAGS+= -I${SRCDIR}/ld -I${SRCDIR}/bfd
|
||||
|
@ -8,6 +8,7 @@ LIB= binutils
|
||||
SRCS+= arlex.l arparse.y arsup.c bucomm.c debug.c filemode.c \
|
||||
ieee.c rdcoff.c rddbg.c rename.c stabs.c unwind-ia64.c \
|
||||
wrstabs.c version.c
|
||||
WARNS= 0
|
||||
CFLAGS+= -DTARGET=\"${TARGET_ARCH}-unknown-freebsd\"
|
||||
CFLAGS+= -DBFD_VERSION_STRING=\"${VERSION}\"
|
||||
CFLAGS+= -I${SRCDIR}/binutils
|
||||
|
@ -13,6 +13,7 @@ SRCS= argv.c choose-temp.c concat.c cp-demangle.c cplus-dem.c \
|
||||
.if defined(BOOTSTRAPPING)
|
||||
SRCS+= basename.c
|
||||
.endif
|
||||
WARNS= 1
|
||||
CFLAGS+= -DHAVE_CONFIG_H
|
||||
NOPROFILE= true
|
||||
NOPIC= true
|
||||
|
@ -6,6 +6,7 @@
|
||||
|
||||
PROG= nm
|
||||
SRCS= nm.c
|
||||
WARNS= 2
|
||||
CFLAGS+= -I${.CURDIR}/${RELTOP}/libbinutils
|
||||
CFLAGS+= -I${SRCDIR}/binutils
|
||||
DPADD= ${RELTOP}/libbinutils/libbinutils.a
|
||||
|
@ -6,6 +6,7 @@
|
||||
|
||||
PROG= objcopy
|
||||
SRCS= objcopy.c not-strip.c
|
||||
WARNS= 2
|
||||
CFLAGS+= -I${.CURDIR}/${RELTOP}/libbinutils
|
||||
CFLAGS+= -I${SRCDIR}/binutils
|
||||
DPADD= ${RELTOP}/libbinutils/libbinutils.a
|
||||
|
@ -6,6 +6,7 @@
|
||||
|
||||
PROG= objdump
|
||||
SRCS= objdump.c prdbg.c
|
||||
WARNS= 2
|
||||
CFLAGS+= -I${.CURDIR}/${RELTOP}/libbinutils
|
||||
CFLAGS+= -I${SRCDIR}/binutils
|
||||
CFLAGS+= -DBFD_VERSION_STRING=\"${VERSION}\"
|
||||
|
@ -9,6 +9,7 @@ BINDIR=/usr/bin
|
||||
|
||||
PROG= readelf
|
||||
SRCS= ${PROG}.c
|
||||
WARNS= 2
|
||||
CFLAGS+= -I${.CURDIR}/${RELTOP}/libbinutils -I${SRCDIR}/binutils
|
||||
|
||||
DPADD= ${RELTOP}/libbinutils/libbinutils.a
|
||||
|
@ -6,6 +6,7 @@
|
||||
|
||||
PROG= size
|
||||
SRCS= size.c
|
||||
WARNS= 2
|
||||
CFLAGS+= -I${.CURDIR}/${RELTOP}/libbinutils
|
||||
CFLAGS+= -I${SRCDIR}/binutils
|
||||
DPADD= ${RELTOP}/libbinutils/libbinutils.a
|
||||
|
@ -6,6 +6,7 @@
|
||||
|
||||
PROG= strings
|
||||
SRCS= strings.c
|
||||
WARNS= 2
|
||||
CFLAGS+= -I${.CURDIR}/${RELTOP}/libbinutils
|
||||
CFLAGS+= -I${SRCDIR}/binutils
|
||||
DPADD= ${RELTOP}/libbinutils/libbinutils.a
|
||||
|
@ -6,6 +6,7 @@
|
||||
|
||||
PROG= strip
|
||||
SRCS= objcopy.c is-strip.c
|
||||
WARNS= 2
|
||||
CFLAGS+= -I${.CURDIR}/${RELTOP}/libbinutils
|
||||
CFLAGS+= -I${SRCDIR}/binutils
|
||||
DPADD= ${RELTOP}/libbinutils/libbinutils.a
|
||||
|
Loading…
x
Reference in New Issue
Block a user