summaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile5
1 files changed, 4 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 3c41155..468e479 100644
--- a/Makefile
+++ b/Makefile
@@ -159,7 +159,10 @@ prepare:
patch -p1 < $(PATCHES_DIR)/0004-Windows-Use-not-in-progpath-and-leave-case-as-is.patch && \
patch -p1 < $(PATCHES_DIR)/0006-Windows-New-feature-to-allow-overriding.patch && \
patch -p1 < $(PATCHES_DIR)/0008-Prettify-linking-no-undefined.patch && \
- patch -p1 < $(PATCHES_DIR)/0010-Fix-using-large-PCH.patch
+ patch -p1 < $(PATCHES_DIR)/0010-Fix-using-large-PCH.patch
+ # Patch from https://patchwork.ozlabs.org/patch/1009009/
+ cd $(UNPACK_DIR)/gcc-$(VERSION_GCC) && \
+ patch -p1 < $(PATCHES_DIR)/0020-gcc-9-deprecated-copy_false_positives.patch
tar -zxf $(SOURCE_DIR)/gdb-$(VERSION_GDB).tar.gz -C $(UNPACK_DIR)/
cd $(UNPACK_DIR)/gdb-$(VERSION_GDB) && \
patch -p1 < $(PATCHES_DIR)/0004-Windows-Use-not-in-progpath-and-leave-case-as-is.patch