minix/external/gpl3/gcc/lib/libgcc/libgcc_eh/Makefile
Lionel Sambuc d19d7d58aa Toolchain upgrade and portability improvements.
upgrade to NetBSD CVS release from 2012/10/17 12:00:00 UTC

Makefiles updates to imporve portability

Made sure to be consistent in the usage of braces/parenthesis at
least on a per file basis. For variables, it is recommended to
continue to use braces.
2012-11-15 16:07:29 +01:00

26 lines
390 B
Makefile

# $NetBSD: Makefile,v 1.5 2012/08/06 00:21:09 matt 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} ${LIB2_EHASM}
COPTS.unwind-dw2.c = -Wno-stack-protector
MKPIC:= no
.include <bsd.lib.mk>
.else
.include <bsd.prog.mk> # do nothing
.endif