Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/external/bsd/atf/lib/libatf-c Hack for clang.



details:   https://anonhg.NetBSD.org/src/rev/6c831905a07e
branches:  trunk
changeset: 744332:6c831905a07e
user:      christos <christos%NetBSD.org@localhost>
date:      Wed Jan 29 22:40:44 2020 +0000

description:
Hack for clang.

diffstat:

 external/bsd/atf/lib/libatf-c/Makefile |  4 +++-
 1 files changed, 3 insertions(+), 1 deletions(-)

diffs (18 lines):

diff -r 2f487969c2d2 -r 6c831905a07e external/bsd/atf/lib/libatf-c/Makefile
--- a/external/bsd/atf/lib/libatf-c/Makefile    Wed Jan 29 21:52:16 2020 +0000
+++ b/external/bsd/atf/lib/libatf-c/Makefile    Wed Jan 29 22:40:44 2020 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.21 2014/03/02 22:50:13 jmmv Exp $
+# $NetBSD: Makefile,v 1.22 2020/01/29 22:40:44 christos Exp $
 
 NOLINT=                # defined
 
@@ -53,6 +53,8 @@
 
 MAN=           atf-c-api.3
 
+COPTS.tc.c+=   ${${ACTIVE_CC} == "clang" && ${MACHINE_ARCH} == "powerpc":? -O0 :}
+
 .if ${MKSHARE} != "no"
 FILES+=                atf-c.pc
 FILESDIR=      /usr/lib/pkgconfig



Home | Main Index | Thread Index | Old Index