ports/devel/llvm12/files/patch-fformat_extensions.diff
Brooks Davis 85e3df44bd Welcome LLVM 12 (12.0.0rc2) to the tree
Notable *port* changes (vs devel/llvm11):
 - Switch to single llvm-project distfile.  This simplifies the port
   and support for the old style build process is rotting upstream
   after the mono-repo conversion.
 - Disable libedit dependency in libLLVM (still used by LLDB).  This
   is one small step toward a dependency-less clang.
 - LLDB docs are disabled due to issues finding python includes when
   autogenerating API docs.

Sponsored by:	 DARPA
2021-03-05 01:47:32 +00:00

11 lines
709 B
Diff

--- clang/include/clang/Driver/Options.td.orig 2019-10-21 21:45:02.000000000 +0100
+++ clang/include/clang/Driver/Options.td 2019-10-22 00:00:39.833390000 +0100
@@ -1186,6 +1186,8 @@
Flags<[CC1Option]>;
def fno_use_line_directives : Flag<["-"], "fno-use-line-directives">, Group<f_Group>;
+def fformat_extensions: Flag<["-"], "fformat-extensions">, Group<f_Group>, Flags<[CC1Option]>,
+ HelpText<"Enable FreeBSD kernel specific format string extensions">;
def ffreestanding : Flag<["-"], "ffreestanding">, Group<f_Group>, Flags<[CC1Option]>,
HelpText<"Assert that the compilation takes place in a freestanding environment">;
def fgnuc_version_EQ : Joined<["-"], "fgnuc-version=">, Group<f_Group>,