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/363f1c277758
branches:  trunk
changeset: 744334:363f1c277758
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 6f8b958f394e -r 363f1c277758 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