aboutsummaryrefslogtreecommitdiff
path: root/lib/ofed
diff options
context:
space:
mode:
authorEnji Cooper <ngie@FreeBSD.org>2019-03-29 18:16:33 +0000
committerEnji Cooper <ngie@FreeBSD.org>2019-03-29 18:16:33 +0000
commit752cabaa1cf94dff142dfe91161f627df793c2f8 (patch)
tree56c529711cd8f3d7791fa3caf99f1256719fabbf /lib/ofed
parent9a41926bfb664dd77659d1615ba55d75c2c530a8 (diff)
Notes
Diffstat (limited to 'lib/ofed')
-rw-r--r--lib/ofed/libibnetdisc/Makefile3
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/ofed/libibnetdisc/Makefile b/lib/ofed/libibnetdisc/Makefile
index 08dbb8861407..f66e58f4b0c0 100644
--- a/lib/ofed/libibnetdisc/Makefile
+++ b/lib/ofed/libibnetdisc/Makefile
@@ -31,6 +31,9 @@ LIBADD= osmcomp ibmad ibumad
CFLAGS+= -DHAVE_CONFIG_H=1
CFLAGS+= -I${_spath}
CFLAGS+= -I${SYSROOT:U${DESTDIR}}/${INCLUDEDIR}/infiniband
+.if ${COMPILER_FEATURES:Mc++11}
+CXXFLAGS+= -std=c++11
+.endif
VERSION_MAP= ${_spath}/libibnetdisc.map
.include <bsd.lib.mk>