summaryrefslogtreecommitdiff
path: root/dev-build/kbuild/files/kbuild-0.1.9998.3572-fix-lto.patch
diff options
context:
space:
mode:
Diffstat (limited to 'dev-build/kbuild/files/kbuild-0.1.9998.3572-fix-lto.patch')
-rw-r--r--dev-build/kbuild/files/kbuild-0.1.9998.3572-fix-lto.patch11
1 files changed, 11 insertions, 0 deletions
diff --git a/dev-build/kbuild/files/kbuild-0.1.9998.3572-fix-lto.patch b/dev-build/kbuild/files/kbuild-0.1.9998.3572-fix-lto.patch
new file mode 100644
index 000000000000..94eb14ee6cb6
--- /dev/null
+++ b/dev-build/kbuild/files/kbuild-0.1.9998.3572-fix-lto.patch
@@ -0,0 +1,11 @@
+--- a/src/kmk/remake.c
++++ b/src/kmk/remake.c
+@@ -417,7 +417,7 @@
+ if (!keep_going_flag && file->parent == 0)
+ {
+ const char *msg_joke = 0;
+- extern struct dep *goals;
++ extern struct goaldep *goals;
+
+ /* classics */
+ if (!strcmp (file->name, "fire")