Restore PA_CPP in jbuild files
Signed-off-by: Jeremie Dimino <jeremie@dimino.org>
This commit is contained in:
parent
189b1dbea5
commit
7ec7166ae4
|
@ -106,6 +106,9 @@ module Map = struct
|
||||||
let strings s = values (Value.L.strings s) in
|
let strings s = values (Value.L.strings s) in
|
||||||
let lowercased =
|
let lowercased =
|
||||||
[ "cpp" , strings (context.c_compiler :: cflags @ ["-E"])
|
[ "cpp" , strings (context.c_compiler :: cflags @ ["-E"])
|
||||||
|
; "pa_cpp" , strings (context.c_compiler :: cflags
|
||||||
|
@ ["-undef"; "-traditional";
|
||||||
|
"-x"; "c"; "-E"])
|
||||||
; "cc" , strings (context.c_compiler :: cflags)
|
; "cc" , strings (context.c_compiler :: cflags)
|
||||||
; "cxx" , strings (context.c_compiler :: cxx_flags)
|
; "cxx" , strings (context.c_compiler :: cxx_flags)
|
||||||
; "ocaml" , path context.ocaml
|
; "ocaml" , path context.ocaml
|
||||||
|
@ -121,9 +124,6 @@ module Map = struct
|
||||||
in
|
in
|
||||||
let other =
|
let other =
|
||||||
[ "-verbose" , values []
|
[ "-verbose" , values []
|
||||||
; "pa_cpp" , strings (context.c_compiler :: cflags
|
|
||||||
@ ["-undef"; "-traditional";
|
|
||||||
"-x"; "c"; "-E"])
|
|
||||||
; "ocaml_bin" , values [Dir context.ocaml_bin]
|
; "ocaml_bin" , values [Dir context.ocaml_bin]
|
||||||
; "ocaml_version" , string context.version_string
|
; "ocaml_version" , string context.version_string
|
||||||
; "ocaml_where" , string (Path.to_string context.stdlib_dir)
|
; "ocaml_where" , string (Path.to_string context.stdlib_dir)
|
||||||
|
|
Loading…
Reference in New Issue