| @@ -1,27 +1,30 @@ | | | @@ -1,27 +1,30 @@ |
1 | # $NetBSD: Makefile,v 1.11 2014/05/16 09:36:51 mrg Exp $ | | 1 | # $NetBSD: Makefile,v 1.12 2014/05/28 16:41:06 mrg Exp $ |
2 | | | 2 | |
3 | REQUIRETOOLS= yes | | 3 | REQUIRETOOLS= yes |
4 | NOLINT= # defined | | 4 | NOLINT= # defined |
5 | | | 5 | |
6 | .include <bsd.own.mk> | | 6 | .include <bsd.own.mk> |
7 | | | 7 | |
8 | .include "Makefile.inc" | | 8 | .include "Makefile.inc" |
9 | | | 9 | |
10 | LIB= stdc++ | | 10 | LIB= stdc++ |
11 | LDADD= -lgcc_s | | 11 | LDADD= -lgcc_s |
12 | | | 12 | |
13 | LIBDPLIBS+= m ${.CURDIR}/../../../../../lib/libm | | 13 | LIBDPLIBS+= m ${.CURDIR}/../../../../../lib/libm |
14 | | | 14 | |
| | | 15 | COPTS+= -pthread |
| | | 16 | LDFLAGS+= -pthread |
| | | 17 | |
15 | UNSUPPORTED_COMPILER.clang= # defined | | 18 | UNSUPPORTED_COMPILER.clang= # defined |
16 | CWARNFLAGS.clang+= -Wno-logical-op-parentheses \ | | 19 | CWARNFLAGS.clang+= -Wno-logical-op-parentheses \ |
17 | -Wno-deprecated-writable-strings -Wno-parentheses | | 20 | -Wno-deprecated-writable-strings -Wno-parentheses |
18 | | | 21 | |
19 | .include "${.CURDIR}/../libsupc++/Makefile.common" | | 22 | .include "${.CURDIR}/../libsupc++/Makefile.common" |
20 | | | 23 | |
21 | .if exists(${.CURDIR}/arch/${LIBSTDCXX_MACHINE_ARCH}/defs.mk) && ${MKGCC} != "no" | | 24 | .if exists(${.CURDIR}/arch/${LIBSTDCXX_MACHINE_ARCH}/defs.mk) && ${MKGCC} != "no" |
22 | .include "${.CURDIR}/arch/${LIBSTDCXX_MACHINE_ARCH}/defs.mk" | | 25 | .include "${.CURDIR}/arch/${LIBSTDCXX_MACHINE_ARCH}/defs.mk" |
23 | | | 26 | |
24 | SHLIB_MAJOR= 7 | | 27 | SHLIB_MAJOR= 7 |
25 | SHLIB_MINOR= 2 | | 28 | SHLIB_MINOR= 2 |
26 | | | 29 | |
27 | SUBDIR= include | | 30 | SUBDIR= include |