summaryrefslogtreecommitdiff
path: root/gnu/lib/libsupc++-v3/Makefile
blob: 15bd0f60459dffb929599c8ef52c0e9f76462c29 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
# $OpenBSD: Makefile,v 1.3 2011/07/18 18:32:47 matthieu Exp $

.include "${.CURDIR}/../libstdc++-v3/Makefile.common" 

# Static only.
LIB=	supc++

# Pulled from Makefile.common
SRCS=	${SUPSRCS}

.if ${MACHINE_ARCH} == "arm"
CFLAGS+=	-D_GLIBCXX_SJLJ_EXCEPTIONS=1
.endif

# Build a standard .a lib with PIC objects
NOPIC=
CFLAGS+= ${PICFLAG}

.include <bsd.lib.mk>