From: Richard W.M. Jones Date: Sat, 2 Aug 2014 07:40:43 +0000 (+0100) Subject: Unset MAKEFLAGS so it doesn't affect local builds. X-Git-Url: http://git.annexia.org/?a=commitdiff_plain;ds=sidebyside;h=8162d70380425801ab4e8038b8d89c20e11b8f4b;p=goaljobs-goals.git Unset MAKEFLAGS so it doesn't affect local builds. --- diff --git a/fedora_ocaml_rebuild.ml b/fedora_ocaml_rebuild.ml index d316f77..9c3cffc 100644 --- a/fedora_ocaml_rebuild.ml +++ b/fedora_ocaml_rebuild.ml @@ -103,6 +103,9 @@ let install_build_dependencies pkg = sh "sudo yum-builddep -y --disablerepo=\\* --enablerepo=%s %s" (quote yum_repo) (fedora_specfile pkg branch) +(* Unset MAKEFLAGS so it doesn't affect local builds. *) +let () = Unix.putenv "MAKEFLAGS" "" + (* Goal: rebuild all packages. *) let rec goal all () = List.iter (fun pkg -> require (rebuild_started pkg)) source_packages