summaryrefslogtreecommitdiff
path: root/sys/lib
diff options
context:
space:
mode:
authorskrll <skrll@NetBSD.org>2013-07-23 14:52:07 +0000
committerskrll <skrll@NetBSD.org>2013-07-23 14:52:07 +0000
commitfbf0cbac5b4e077a9d8935390b5ccd9e4d36d3f5 (patch)
treeeb3ad23c3f1b1b5a9bf5708422301139b2f4f909 /sys/lib
parentacf2c9197fbe95b12e07a64f21bf624af647faef (diff)
Another codegen bug that fixes (in this case lots of) atf tests.
rump_server doesn't die so much now.
Diffstat (limited to 'sys/lib')
-rw-r--r--sys/lib/libkern/Makefile.libkern6
1 files changed, 5 insertions, 1 deletions
diff --git a/sys/lib/libkern/Makefile.libkern b/sys/lib/libkern/Makefile.libkern
index 95b8b556e9d..c1eceb3229a 100644
--- a/sys/lib/libkern/Makefile.libkern
+++ b/sys/lib/libkern/Makefile.libkern
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile.libkern,v 1.25 2013/06/29 16:02:01 rmind Exp $
+# $NetBSD: Makefile.libkern,v 1.26 2013/07/23 14:52:07 skrll Exp $
#
# Variable definitions for libkern.
@@ -111,3 +111,7 @@ unwanted_file := ${SRCS:M${check_file:.S=.c}}
SRCS := ${SRCS:N${unwanted_file}}
.endif
.endfor
+
+.if ${HAVE_GCC:U} == "45" && ${MACHINE_CPU} == "hppa"
+COPTS.md5c.c += ${${ACTIVE_CC} == "gcc" :? -O0 :}
+.endif