From 008e910e968f49c5c2d3ac4b5c1e0a1f90662719 Mon Sep 17 00:00:00 2001
From: rofl0r <rofl0r@users.noreply.github.com>
Date: Fri, 16 Aug 2019 18:03:03 +0100
Subject: [PATCH] default binutils to disable compressed debug info

compressed debug info section is a relatively new feature, and having it on
by default causes link errors when the built libraries (most notably libgcc)
are later used with an older binutils version (for example binutils 2.27,
which was mcm's default version until just recently).
---
 litecross/Makefile | 1 +
 1 file changed, 1 insertion(+)

diff --git a/litecross/Makefile b/litecross/Makefile
index 1d35b93..e406e31 100644
--- a/litecross/Makefile
+++ b/litecross/Makefile
@@ -63,6 +63,7 @@ FULL_BINUTILS_CONFIG = \
 	--target=$(TARGET) --prefix= \
 	--libdir=/lib --disable-multilib \
 	--with-sysroot=$(SYSROOT) \
+	--enable-compressed-debug-sections=none \
 	--enable-deterministic-archives
 
 FULL_GCC_CONFIG = --enable-languages=c,c++ \