From 623ee73d661e5ed8475cb264511f683407d87365 Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Sun, 12 Apr 2020 03:41:30 +0100 Subject: gentoo Easter resync : 12.04.2020 --- dev-lang/crystal/files/crystal-0.34.0-no-usr-lib.patch | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 dev-lang/crystal/files/crystal-0.34.0-no-usr-lib.patch (limited to 'dev-lang/crystal/files') diff --git a/dev-lang/crystal/files/crystal-0.34.0-no-usr-lib.patch b/dev-lang/crystal/files/crystal-0.34.0-no-usr-lib.patch new file mode 100644 index 000000000000..4dc0b42d90a0 --- /dev/null +++ b/dev-lang/crystal/files/crystal-0.34.0-no-usr-lib.patch @@ -0,0 +1,14 @@ +On amd64 linux /usr/lib does not match default 64-bit ABI. + +Let's rely on default compiler and linker paths instead. +--- a/src/compiler/crystal/codegen/link.cr ++++ b/src/compiler/crystal/codegen/link.cr +@@ -106,7 +106,7 @@ module Crystal + + private def lib_flags_posix + library_path = ENV["LIBRARY_PATH"]?.try(&.split(':', remove_empty: true)) || +- ["/usr/lib", "/usr/local/lib"] ++ [] of String + has_pkg_config = nil + + String.build do |flags| -- cgit v1.2.3