Module Name: src
Committed By: joerg
Date: Sun May 30 02:24:05 UTC 2021
Modified Files:
src/lib/libc/gmon: Makefile.inc
Log Message:
Don't warn about frame pointer use for clang either.
To generate a diff of this commit:
cvs rdiff -u -r1.14 -r1.15 src/lib/libc/gmon/Makefile.inc
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/lib/libc/gmon/Makefile.inc
diff -u src/lib/libc/gmon/Makefile.inc:1.14 src/lib/libc/gmon/Makefile.inc:1.15
--- src/lib/libc/gmon/Makefile.inc:1.14 Sun Jan 6 18:14:10 2019
+++ src/lib/libc/gmon/Makefile.inc Sun May 30 02:24:05 2021
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile.inc,v 1.14 2019/01/06 18:14:10 christos Exp $
+# $NetBSD: Makefile.inc,v 1.15 2021/05/30 02:24:05 joerg Exp $
# @(#)Makefile.inc 8.1 (Berkeley) 6/4/93
# gmon sources
@@ -23,6 +23,7 @@ COPTS.mcount.c+=${${ACTIVE_CXX} == "gcc"
# The usage of __builtin_frame_address(1) should be OK.
COPTS.mcount.c+=${${ACTIVE_CXX} == "gcc":? -Wno-error=frame-address :}
.endif
+COPTS.mcount.c+=${${ACTIVE_CC} == "clang":? -Wno-error=frame-address :}
# mcount and gmon cannot be compiled with profiling