Source-Changes-HG archive

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

[src/trunk]: src/external/bsd/dhcpcd/sbin/dhcpcd Hack for clang/powerpc



details:   https://anonhg.NetBSD.org/src/rev/262f816d4c56
branches:  trunk
changeset: 968847:262f816d4c56
user:      christos <christos%NetBSD.org@localhost>
date:      Wed Jan 29 23:42:57 2020 +0000

description:
Hack for clang/powerpc

diffstat:

 external/bsd/dhcpcd/sbin/dhcpcd/Makefile |  5 ++++-
 1 files changed, 4 insertions(+), 1 deletions(-)

diffs (19 lines):

diff -r f356a676fcba -r 262f816d4c56 external/bsd/dhcpcd/sbin/dhcpcd/Makefile
--- a/external/bsd/dhcpcd/sbin/dhcpcd/Makefile  Wed Jan 29 22:43:53 2020 +0000
+++ b/external/bsd/dhcpcd/sbin/dhcpcd/Makefile  Wed Jan 29 23:42:57 2020 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.49 2019/09/13 11:58:32 roy Exp $
+# $NetBSD: Makefile,v 1.50 2020/01/29 23:42:57 christos Exp $
 #
 
 WARNS?=                6
@@ -59,6 +59,9 @@
 MAN=                   dhcpcd.conf.5 dhcpcd.8 
 CLEANFILES=            dhcpcd.conf.5 dhcpcd.8 
 
+COPTS.logerr.c+=    ${${ACTIVE_CC} == "clang" && ${MACHINE_ARCH} == "powerpc":? -O0 :}
+
+
 .for f in dhcpcd.conf.5 dhcpcd.8
 ${f}:  ${f}.in
        ${TOOL_SED} ${SED_SYS} ${DIST}/src/${f}.in > $@



Home | Main Index | Thread Index | Old Index