From 8182ab93829023bf9ec5c69143e03269b52797b3 Mon Sep 17 00:00:00 2001 From: Marc Espie Date: Sat, 21 Jul 2007 14:41:08 +0000 Subject: even though gcc doesn't reuse the utsname space, it could. Ensure MACHINE stays defined. --- usr.bin/make/main.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/usr.bin/make/main.c b/usr.bin/make/main.c index a5cf3b0fcbd..ff52417a3cc 100644 --- a/usr.bin/make/main.c +++ b/usr.bin/make/main.c @@ -1,5 +1,5 @@ /* $OpenPackages$ */ -/* $OpenBSD: main.c,v 1.70 2007/07/08 17:44:20 espie Exp $ */ +/* $OpenBSD: main.c,v 1.71 2007/07/21 14:41:07 espie Exp $ */ /* $NetBSD: main.c,v 1.34 1997/03/24 20:56:36 gwr Exp $ */ /* @@ -490,7 +490,7 @@ main(int argc, char **argv) */ if (!machine) { #ifndef MAKE_BOOTSTRAP - struct utsname utsname; + static struct utsname utsname; if (uname(&utsname) == -1) { perror("make: uname"); -- cgit v1.2.3