This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| diff --git a/gcc/config/gnu-user.h b/gcc/config/gnu-user.h | |
| index a967b69..af0f3a3 100644 | |
| --- a/gcc/config/gnu-user.h | |
| +++ b/gcc/config/gnu-user.h | |
| @@ -160,7 +160,7 @@ see the files COPYING3 and COPYING.RUNTIME respectively. If not, see | |
| #define LIBASAN_EARLY_SPEC "%{!shared:libasan_preinit%O%s} " \ | |
| "%{static-libasan:%{!shared:" \ | |
| LD_STATIC_OPTION " --whole-archive -lasan --no-whole-archive " \ | |
| - LD_DYNAMIC_OPTION "}}%{!static-libasan:-lasan}" | |
| + LD_DYNAMIC_OPTION " -lstdc++ }}%{!static-libasan:-lasan}" |