diff --git a/Changes b/Changes index 44ef0f92b..3d83cb2ab 100644 --- a/Changes +++ b/Changes @@ -89,6 +89,8 @@ Other libraries: OCamlbuild: - PR#6794, PR#6809: pass package-specific include flags when building C files (Jérémie Dimino, request by Peter Zotov) +- GPR#208: add "asm" tag to ocamlbuild to enable flag -S + (ygrek) Bug fixes: * PR#4539: change exception string raised when comparing functional values diff --git a/ocamlbuild/ocaml_specific.ml b/ocamlbuild/ocaml_specific.ml index 902ec3d05..d332ff311 100644 --- a/ocamlbuild/ocaml_specific.ml +++ b/ocamlbuild/ocaml_specific.ml @@ -742,7 +742,8 @@ flag ["ocaml"; "compile"; "keep_docs";] (A "-keep-docs"); flag ["ocaml"; "compile"; "keep_locs";] (A "-keep-locs"); flag ["ocaml"; "absname"; "compile"] (A "-absname");; flag ["ocaml"; "absname"; "infer_interface"] (A "-absname");; -flag ["ocaml"; "byte"; "compile"; "compat_32";] (A "-compat-32"); +flag ["ocaml"; "byte"; "compile"; "compat_32";] (A "-compat-32");; +flag ["ocaml";"compile";"native";"asm"] & S [A "-S"];; (* threads, with or without findlib *)