NetBSD/distrib/utils/x_dd/Makefile
martin c45ea630d3 Drop ``-Os'' on sparc64 due to toolchain issues.
The same change has already been applied on the 1.5 branch. The problems
(i.e. ifconfig not showing IP addresses) have been verified to still exist
with the new toolchain.
2001-08-20 12:19:43 +00:00

23 lines
395 B
Makefile

# $NetBSD: Makefile,v 1.11 2001/08/20 12:19:44 martin Exp $
# Build a smaller dd (i.e. for boot media)
PROG= dd
MKMAN= no
SRCDIR= ${.CURDIR}/../../../bin/dd
SRCS= args.c conv.c dd.c misc.c position.c
# SRCS+= conv_tab.c (not used)
CPPFLAGS+= -DNO_CONV -I${SRCDIR}
.if ${MACHINE_ARCH} != "sparc64"
COPTS+= -Os
.endif
LDSTATIC?=-static
all: ${PROG}
.include <bsd.prog.mk>
.PATH: ${SRCDIR}