aboutsummaryrefslogtreecommitdiff
path: root/gcc/config/gnu-user.h
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/config/gnu-user.h')
-rw-r--r--gcc/config/gnu-user.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/gcc/config/gnu-user.h b/gcc/config/gnu-user.h
index cb45749..8c4bbc6 100644
--- a/gcc/config/gnu-user.h
+++ b/gcc/config/gnu-user.h
@@ -98,3 +98,7 @@ see the files COPYING3 and COPYING.RUNTIME respectively. If not, see
#define TARGET_C99_FUNCTIONS 1
#define TARGET_HAS_SINCOS 1
+
+/* Additional libraries needed by -static-libasan. */
+#undef STATIC_LIBASAN_LIBS
+#define STATIC_LIBASAN_LIBS "-ldl -lpthread"