xref: /minix3/external/gpl3/gcc/lib/libgcc/libgcc_eh/Makefile (revision 0a6a1f1d05b60e214de2f05a7310ddd1f0e590e7)
1*0a6a1f1dSLionel Sambuc#	$NetBSD: Makefile,v 1.10 2014/06/01 19:51:01 mrg Exp $
218a5822eSThomas Veerman
318a5822eSThomas VeermanREQUIRETOOLS=	yes
418a5822eSThomas VeermanNOLINT=		# defined
518a5822eSThomas VeermanNOPIC=		# defined
618a5822eSThomas VeermanNOPROFILE=	# defined
718a5822eSThomas Veerman
818a5822eSThomas VeermanLIB=		gcc_eh
918a5822eSThomas Veerman
10*0a6a1f1dSLionel Sambuc.include "../../../Makefile.gcc_path"
1118a5822eSThomas Veerman.include <bsd.own.mk>
1218a5822eSThomas Veerman
1318a5822eSThomas Veerman.if ${MKGCC} != "no"
1418a5822eSThomas Veerman
1518a5822eSThomas Veerman.cc: # disable .cc->NULL transform
1618a5822eSThomas Veerman
17*0a6a1f1dSLionel SambucSRCS+=		${LIB2_EH} ${LIB2_EHASM} empty.c
18*0a6a1f1dSLionel SambucCOPTS.c-typeck.c=	-Wno-stack-protector
1918a5822eSThomas VeermanCOPTS.unwind-dw2.c=	-Wno-stack-protector
2018a5822eSThomas Veerman
2118a5822eSThomas VeermanMKPIC:=	no
2218a5822eSThomas Veerman
2318a5822eSThomas Veerman.include <bsd.lib.mk>
2418a5822eSThomas Veerman
2518a5822eSThomas Veerman.else
2618a5822eSThomas Veerman.include <bsd.prog.mk> # do nothing
2718a5822eSThomas Veerman.endif
28