2012-10-26 15:22:39 +02:00
|
|
|
# $NetBSD: Makefile,v 1.5 2012/08/06 00:21:09 matt Exp $
|
2012-06-06 15:06:52 +02:00
|
|
|
|
|
|
|
REQUIRETOOLS= yes
|
|
|
|
NOLINT= # defined
|
|
|
|
NOPIC= # defined
|
|
|
|
NOPROFILE= # defined
|
|
|
|
|
|
|
|
LIB= gcc_eh
|
|
|
|
|
|
|
|
.include <bsd.own.mk>
|
|
|
|
|
|
|
|
.if ${MKGCC} != "no"
|
|
|
|
|
|
|
|
.cc: # disable .cc->NULL transform
|
|
|
|
|
2012-10-26 15:22:39 +02:00
|
|
|
SRCS+= ${LIB2_EH} ${LIB2_EHASM}
|
2012-06-06 15:06:52 +02:00
|
|
|
COPTS.unwind-dw2.c = -Wno-stack-protector
|
|
|
|
|
|
|
|
MKPIC:= no
|
|
|
|
|
|
|
|
.include <bsd.lib.mk>
|
|
|
|
|
|
|
|
.else
|
|
|
|
.include <bsd.prog.mk> # do nothing
|
|
|
|
.endif
|