CVSROOT: /cvs
Module name: src
Changes by: [email protected] 2021/02/06 14:40:59
Modified files:
gnu/llvm/clang/include/clang/Driver: Options.td
gnu/llvm/clang/lib/Driver/ToolChains: Clang.cpp
gnu/llvm/clang/lib/Frontend: CompilerInvocation.cpp
Log message:
switch clang to -fno-common by default
Common variables will be flagged as errors by default. This can
be overridden with -fcommon.
Cherry-pick this change that will be part of LLVM11. We bring it
forward so we can finish fixing the fallout in the ports tree.
ok deraadt@ sthen@ mglocker@