The Makefile for builtins is not using CFLAGS, but we do need CFLAGS

(for example under IRIX64 using gcc, where it otherwise will produce
32bit object files).  Patch that.
This commit is contained in:
jschauma 2004-05-17 22:29:30 +00:00
parent 178120203d
commit 24482317ee
2 changed files with 15 additions and 1 deletions

View file

@ -1,4 +1,4 @@
$NetBSD: distinfo,v 1.11 2004/05/12 20:56:14 jschauma Exp $ $NetBSD: distinfo,v 1.12 2004/05/17 22:29:30 jschauma Exp $
SHA1 (bash-2.05b.tar.gz) = b3e158877f94e66ec1c8ef604e994851ee388b09 SHA1 (bash-2.05b.tar.gz) = b3e158877f94e66ec1c8ef604e994851ee388b09
Size (bash-2.05b.tar.gz) = 1956216 bytes Size (bash-2.05b.tar.gz) = 1956216 bytes
@ -22,3 +22,4 @@ SHA1 (patch-ac) = 6528085df706bd8741b8d460e5766a4be6f95ca2
SHA1 (patch-ad) = 412b45000cbd26e5dbacb4c414351c70d73ae62f SHA1 (patch-ad) = 412b45000cbd26e5dbacb4c414351c70d73ae62f
SHA1 (patch-ae) = c0e5564d5e57a04d8458e67fb391df0d890e6f38 SHA1 (patch-ae) = c0e5564d5e57a04d8458e67fb391df0d890e6f38
SHA1 (patch-af) = 7f9cca6100fa6b24c1fb0d30958b2743679e46ee SHA1 (patch-af) = 7f9cca6100fa6b24c1fb0d30958b2743679e46ee
SHA1 (patch-ag) = 0baab486f57f6f4eaedc376223aecde0e6dd5c0f

View file

@ -0,0 +1,13 @@
$NetBSD: patch-ag,v 1.1 2004/05/17 22:29:30 jschauma Exp $
--- builtins/Makefile.in.orig Sun May 16 22:52:52 2004
+++ builtins/Makefile.in Sun May 16 22:53:31 2004
@@ -20,7 +20,7 @@
SHELL = @MAKE_SHELL@
RANLIB = @RANLIB@
CC = @CC@
-CC_FOR_BUILD = @CC_FOR_BUILD@
+CC_FOR_BUILD = @CC_FOR_BUILD@ @CFLAGS@
AR = @AR@
ARFLAGS = @ARFLAGS@
RM = rm -f