binaryen.patch 635 B

1234567891011121314151617181920212223
  1. From 820f26810baf35c1961763f6b0013e4f7e7380da Mon Sep 17 00:00:00 2001
  2. From: Georg Koppen <gk@torproject.org>
  3. Date: Thu, 12 Apr 2018 13:10:13 +0000
  4. Subject: [PATCH] Use our gcc/c++
  5. diff --git a/src/librustc_binaryen/build.rs b/src/librustc_binaryen/build.rs
  6. index f23ff3cee5..2496dd1be9 100644
  7. --- a/src/librustc_binaryen/build.rs
  8. +++ b/src/librustc_binaryen/build.rs
  9. @@ -26,6 +26,8 @@ fn main() {
  10. Config::new("../binaryen")
  11. .define("BUILD_STATIC_LIB", "ON")
  12. + .define("CMAKE_C_COMPILER", "gcc")
  13. + .define("CMAKE_CXX_COMPILER", "c++")
  14. .build_target("binaryen")
  15. .build();
  16. --
  17. 2.16.3