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:
parent
6bd6fe5bbb
commit
20dcbdb6be
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user