Signed-off-by: cherry530 <707078654@qq.com> (cherry picked from commit 4cfe6b479ad547bd008aa98b783eedfe4e0d12b1)
16 lines
543 B
Diff
16 lines
543 B
Diff
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);
|
|
|