1# $OpenBSD: Makefile,v 1.4 2015/05/14 02:56:01 jsg Exp $ 2 3.include "${.CURDIR}/../libstdc++-v3/Makefile.common" 4 5# Static only. 6LIB= supc++ 7 8# Pulled from Makefile.common 9SRCS= ${SUPSRCS} 10 11.if ${MACHINE_ARCH} == "arm" 12CPPFLAGS+= -D_GLIBCXX_SJLJ_EXCEPTIONS=1 13.endif 14 15# Build a standard .a lib with PIC objects 16NOPIC= 17CFLAGS+= ${PICFLAG} 18CXXFLAGS+= ${PICFLAG} 19 20.include <bsd.lib.mk> 21