minix/external/gpl3/gcc/lib/libgcc/libgcc_eh/Makefile
Thomas Veerman 18a5822eff Partially import gcc and binutils
They are used as build tools for cross compilation. This import does
not include the full distribution. Rather, it sports a shell script
that will download and patch the distribution when compiled from
/usr/src/tools (yet to be committed). This part of the source tree is
only necessary for cross compilation. It's not used or compiled for
native builds.
2012-06-18 10:54:16 +00:00

25 lines
375 B
Makefile

# $NetBSD: Makefile,v 1.4 2011/10/17 14:20:54 chs Exp $
REQUIRETOOLS= yes
NOLINT= # defined
NOPIC= # defined
NOPROFILE= # defined
LIB= gcc_eh
.include <bsd.own.mk>
.if ${MKGCC} != "no"
.cc: # disable .cc->NULL transform
SRCS+= ${LIB2_EH}
COPTS.unwind-dw2.c = -Wno-stack-protector
MKPIC:= no
.include <bsd.lib.mk>
.else
.include <bsd.prog.mk> # do nothing
.endif