Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/external/gpl3/gcc/lib/libasan asan_interceptors.cc needs -O1...
details: https://anonhg.NetBSD.org/src/rev/216d6565f65d
branches: trunk
changeset: 975865:216d6565f65d
user: mrg <mrg%NetBSD.org@localhost>
date: Mon Sep 07 09:09:40 2020 +0000
description:
asan_interceptors.cc needs -O1 for mipsel/mipseb.
diffstat:
external/gpl3/gcc/lib/libasan/Makefile | 6 +++++-
1 files changed, 5 insertions(+), 1 deletions(-)
diffs (18 lines):
diff -r 257e118647d4 -r 216d6565f65d external/gpl3/gcc/lib/libasan/Makefile
--- a/external/gpl3/gcc/lib/libasan/Makefile Mon Sep 07 09:05:10 2020 +0000
+++ b/external/gpl3/gcc/lib/libasan/Makefile Mon Sep 07 09:09:40 2020 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.31 2019/10/28 16:25:05 christos Exp $
+# $NetBSD: Makefile,v 1.32 2020/09/07 09:09:40 mrg Exp $
UNSUPPORTED_COMPILER.clang= # defined
NOSANITIZER= # defined
@@ -56,4 +56,8 @@
COPTS.ubsan_init.cc += -O1
.endif
+.if ${MACHINE_ARCH} == "mipsel" || ${MACHINE_ARCH} == "mipseb"
+COPTS.asan_interceptors.cc += -O1
+.endif
+
.include <bsd.lib.mk>
Home |
Main Index |
Thread Index |
Old Index