In addition to r260102, also define GCC_MS_EXTENSIONS in bsd.sys.mk,

since kernel module builds do not use kern.pre.mk.

MFC after:	3 days
X-MFC-With:	r260102
This commit is contained in:
Dimitry Andric 2014-01-05 16:40:41 +00:00
parent 6bd6fe5bbb
commit 20dcbdb6be

View File

@ -123,6 +123,7 @@ CFLAGS+= -Qunused-arguments
CFLAGS+= ${CFLAGS.clang}
CXXFLAGS+= ${CXXFLAGS.clang}
.else # !CLANG
GCC_MS_EXTENSIONS= -fms-extensions
CFLAGS+= ${CFLAGS.gcc}
CXXFLAGS+= ${CXXFLAGS.gcc}
.endif # CLANG