Ignore inlining warnings

Signed-off-by: Thomas Leonard <thomas.leonard@docker.com>
This commit is contained in:
Thomas Leonard
2017-06-12 12:12:06 +01:00
parent c7c33b9a56
commit 387caf8df7
2 changed files with 14 additions and 14 deletions

View File

@@ -7,19 +7,19 @@ let extra_flags =
| x -> failwith (Printf.sprintf "JBUILD_STATIC: unknown value %S" x)
| exception Not_found -> ""
let sexp = Printf.sprintf "
(jbuild_version 1) \
\
(executables ( \
(names (main store_main http_main tls_main)) \
(libraries (capnp-rpc-lwt cohttp.lwt irmin-unix cmdliner fmt.tty)) \
(flags (:standard %s)) \
)) \
(rule \
((targets (proto.ml proto.mli)) \
(deps (proto.capnp)) \
(action (run capnpc -o ocaml ${<})))) \
" extra_flags
let sexp = Printf.sprintf {|
(jbuild_version 1)
(executables (
(names (main store_main http_main tls_main))
(libraries (capnp-rpc-lwt cohttp.lwt irmin-unix cmdliner fmt.tty))
(flags (:standard -w -53-55 %s))
))
(rule
((targets (proto.ml proto.mli))
(deps (proto.capnp))
(action (run capnpc -o ocaml ${<}))))
|} extra_flags
let () =
send sexp