Module Name:    src
Committed By:   christos
Date:           Wed Jan 29 22:40:44 UTC 2020

Modified Files:
        src/external/bsd/atf/lib/libatf-c: Makefile

Log Message:
Hack for clang.


To generate a diff of this commit:
cvs rdiff -u -r1.21 -r1.22 src/external/bsd/atf/lib/libatf-c/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/bsd/atf/lib/libatf-c/Makefile
diff -u src/external/bsd/atf/lib/libatf-c/Makefile:1.21 src/external/bsd/atf/lib/libatf-c/Makefile:1.22
--- src/external/bsd/atf/lib/libatf-c/Makefile:1.21	Sun Mar  2 17:50:13 2014
+++ src/external/bsd/atf/lib/libatf-c/Makefile	Wed Jan 29 17:40:44 2020
@@ -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 @@ INCSDIR_atf-c.h=/usr/include
 
 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

Reply via email to