diff options
author | dim <dim@FreeBSD.org> | 2014-01-09 22:40:51 +0000 |
---|---|---|
committer | dim <dim@FreeBSD.org> | 2014-01-09 22:40:51 +0000 |
commit | 999774a8ef8eaa6132d3de64eebac307c223d29c (patch) | |
tree | 7eab0649e94714452b9f2ba7ce6a23907c0a0b3e /sys/modules/mlx4/Makefile | |
parent | 837513035e696dea0a4ef7dc0fe5418f89bea6e1 (diff) | |
download | FreeBSD-src-999774a8ef8eaa6132d3de64eebac307c223d29c.zip FreeBSD-src-999774a8ef8eaa6132d3de64eebac307c223d29c.tar.gz |
MFC r260102:
Similar to r260020, only use -fms-extensions with gcc, for all other
modules which require this flag to compile. Use a GCC_MS_EXTENSIONS
variable, defined in kern.pre.mk, which can be used to easily supply the
flag (or not), depending on the compiler type.
MFC r260322:
In addition to r260102, also define GCC_MS_EXTENSIONS in bsd.sys.mk,
since kernel module builds do not use kern.pre.mk.
Diffstat (limited to 'sys/modules/mlx4/Makefile')
-rw-r--r-- | sys/modules/mlx4/Makefile | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/sys/modules/mlx4/Makefile b/sys/modules/mlx4/Makefile index e316613..02ee176 100644 --- a/sys/modules/mlx4/Makefile +++ b/sys/modules/mlx4/Makefile @@ -27,7 +27,6 @@ opt_inet6.h: .include <bsd.kmod.mk> CFLAGS+= -Wno-cast-qual -Wno-pointer-arith ${GCC_MS_EXTENSIONS} -CFLAGS+= -Wno-cast-qual -Wno-pointer-arith -fms-extensions CWARNFLAGS.mcg.c= -Wno-unused CWARNFLAGS+= ${CWARNFLAGS.${.IMPSRC:T}} |