diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2020-04-12 03:41:30 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2020-04-12 03:41:30 +0100 |
commit | 623ee73d661e5ed8475cb264511f683407d87365 (patch) | |
tree | 993eb27c93ec7a2d2d19550300d888fc1fed9e69 /dev-lang/crystal/files | |
parent | ceeeb463cc1eef97fd62eaee8bf2196ba04bc384 (diff) |
gentoo Easter resync : 12.04.2020
Diffstat (limited to 'dev-lang/crystal/files')
-rw-r--r-- | dev-lang/crystal/files/crystal-0.34.0-no-usr-lib.patch | 14 |
1 files changed, 14 insertions, 0 deletions
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| |