Module Name:    src
Committed By:   mrg
Date:           Mon Sep  7 09:09:40 UTC 2020

Modified Files:
        src/external/gpl3/gcc/lib/libasan: Makefile

Log Message:
asan_interceptors.cc needs -O1 for mipsel/mipseb.


To generate a diff of this commit:
cvs rdiff -u -r1.31 -r1.32 src/external/gpl3/gcc/lib/libasan/Makefile

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/external/gpl3/gcc/lib/libasan/Makefile
diff -u src/external/gpl3/gcc/lib/libasan/Makefile:1.31 src/external/gpl3/gcc/lib/libasan/Makefile:1.32
--- src/external/gpl3/gcc/lib/libasan/Makefile:1.31	Mon Oct 28 16:25:05 2019
+++ src/external/gpl3/gcc/lib/libasan/Makefile	Mon Sep  7 09:09:40 2020
@@ -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_diag.cc += -O1
 COPTS.ubsan_init.cc += -O1
 .endif
 
+.if ${MACHINE_ARCH} == "mipsel" || ${MACHINE_ARCH} == "mipseb"
+COPTS.asan_interceptors.cc += -O1
+.endif
+
 .include <bsd.lib.mk>

Reply via email to