diff options
author | glebius <glebius@FreeBSD.org> | 2015-02-17 19:27:14 +0000 |
---|---|---|
committer | glebius <glebius@FreeBSD.org> | 2015-02-17 19:27:14 +0000 |
commit | 557c602e55ae9ccce10a6ec3f9e9fe16334bdfe1 (patch) | |
tree | e7455c7898e3607c9a20f4576ca097868e1705f2 /sys/modules/cxgbe | |
parent | cee0ede2f203b96296d38ec04d3e1e4d0fa54404 (diff) | |
download | FreeBSD-src-557c602e55ae9ccce10a6ec3f9e9fe16334bdfe1.zip FreeBSD-src-557c602e55ae9ccce10a6ec3f9e9fe16334bdfe1.tar.gz |
Globally enable -fms-extensions when building kernel with gcc, and remove
this option from all modules that enable it theirselves.
In C mode -fms-extensions option enables anonymous structs and unions,
allowing us to use this C11 feature in kernel. Of course, clang supports
it without any extra options.
Reviewed by: dim
Diffstat (limited to 'sys/modules/cxgbe')
-rw-r--r-- | sys/modules/cxgbe/if_cxgbe/Makefile | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/sys/modules/cxgbe/if_cxgbe/Makefile b/sys/modules/cxgbe/if_cxgbe/Makefile index 32347f4..a66e45a 100644 --- a/sys/modules/cxgbe/if_cxgbe/Makefile +++ b/sys/modules/cxgbe/if_cxgbe/Makefile @@ -26,4 +26,3 @@ SRCS+= t4_tracer.c CFLAGS+= -I${CXGBE} .include <bsd.kmod.mk> -CFLAGS+= ${GCC_MS_EXTENSIONS} |