diff options
author | Gleb Smirnoff <glebius@FreeBSD.org> | 2015-02-17 19:27:14 +0000 |
---|---|---|
committer | Gleb Smirnoff <glebius@FreeBSD.org> | 2015-02-17 19:27:14 +0000 |
commit | cc4a90c445aa04be36c3ef745cbe67fa339b94b5 (patch) | |
tree | e7455c7898e3607c9a20f4576ca097868e1705f2 /sys/conf/kern.mk | |
parent | b153f37ffcefa028161d80c3852223dea7c93f4c (diff) | |
download | src-cc4a90c445aa04be36c3ef745cbe67fa339b94b5.tar.gz src-cc4a90c445aa04be36c3ef745cbe67fa339b94b5.zip |
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
Notes
Notes:
svn path=/head/; revision=278913
Diffstat (limited to 'sys/conf/kern.mk')
-rw-r--r-- | sys/conf/kern.mk | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/sys/conf/kern.mk b/sys/conf/kern.mk index 4317de56c65e..340da8c83fa0 100644 --- a/sys/conf/kern.mk +++ b/sys/conf/kern.mk @@ -39,7 +39,6 @@ CLANG_NO_IAS34= -no-integrated-as .endif .if ${COMPILER_TYPE} == "gcc" -GCC_MS_EXTENSIONS= -fms-extensions .if ${COMPILER_VERSION} >= 40300 # Catch-all for all the things that are in our tree, but for which we're # not yet ready for this compiler. Note: we likely only really "support" |