
This brings our tree to NetBSD 7.0, as found on -current on the 10-10-2015. This updates: - LLVM to 3.6.1 - GCC to GCC 5.1 - Replace minix/commands/zdump with usr.bin/zdump - external/bsd/libelf has moved to /external/bsd/elftoolchain/ - Import ctwm - Drop sprintf from libminc Change-Id: I149836ac18e9326be9353958bab9b266efb056f0
32 lines
678 B
Makefile
32 lines
678 B
Makefile
# $NetBSD: Makefile,v 1.7 2014/06/01 19:51:01 mrg Exp $
|
|
|
|
LIBISPRIVATE= yes
|
|
|
|
.include <bsd.init.mk>
|
|
|
|
GCC_MACHINE_ARCH?=${MACHINE_ARCH:S/earmv5/earm/}
|
|
|
|
LIB= iberty
|
|
|
|
.include "${.CURDIR}/defs.mk"
|
|
|
|
DIST= ${GCCDIST}
|
|
GNUHOSTDIST= ${DIST}
|
|
|
|
SRCS= ${G_REQUIRED_OFILES:.o=.c} ${G_EXTRA_OFILES:.o=.c} \
|
|
${G_LIBOBJS:.o=.c} ${G_ALLOCA:.o=.c}
|
|
|
|
CPPFLAGS+= -DHAVE_CONFIG_H -I${.CURDIR}/arch/${GCC_MACHINE_ARCH} \
|
|
-I${DIST}/include
|
|
|
|
COPTS.argv.c = -Wno-stack-protector
|
|
COPTS.cp-demangle.c = -Wno-stack-protector
|
|
COPTS.make-relative-prefix.c = -Wno-stack-protector
|
|
COPTS.regex.c = -Wno-stack-protector
|
|
|
|
CWARNFLAGS.clang+= -Wno-unused-value
|
|
|
|
.PATH: ${DIST}/libiberty
|
|
|
|
.include <bsd.lib.mk>
|