annobin/adapte-gcc.patch

16 lines
543 B
Diff
Raw Normal View History

diff --git a/plugin/annobin.cc b/plugin/annobin.cc
index ac34d5f..67a2837 100644
--- a/plugin/annobin.cc
+++ b/plugin/annobin.cc
@@ -638,7 +638,9 @@ compute_GOWall_options (void)
}
else
val = write_symbols;
-
+ /*Because commit https://gitee.com/src-openeuler/gcc/pulls/425 removes use_gnu_debug_info_extensions, we modify it by setting use_gnu_debug_info_extensions locally to false*/
+ bool use_gnu_debug_info_extensions;
+ use_gnu_debug_info_extensions = false;
if (use_gnu_debug_info_extensions)
val |= (1 << 3);