aboutsummaryrefslogtreecommitdiff
path: root/lib/ofed/libibnetdisc/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'lib/ofed/libibnetdisc/Makefile')
-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..0736ae93f12f 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}
+CXXSTD= c++11
+.endif
VERSION_MAP= ${_spath}/libibnetdisc.map
.include <bsd.lib.mk>