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/2c09950990e3
branches: trunk
changeset: 938403:2c09950990e3
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 b1dc7ff92c95 -r 2c09950990e3 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