Subject: pkg/31281: bootstrap/bootstrap ignores CFLAGS while bmake is compiled
To: None <,,>
From: Ryo HAYASAKA <>
List: pkgsrc-bugs
Date: 09/09/2005 22:55:00
>Number:         31281
>Category:       pkg
>Synopsis:       bootstrap/bootstrap ignores CFLAGS while bmake is compiled
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Fri Sep 09 22:55:00 +0000 2005
>Originator:     Ryo HAYASAKA
>Release:        pkgsrc-2005Q2
Japan Advanced Institute of Science and Technology (JAIST)
System: SunOS lss2-is26 5.9 Generic_112233-08 sun4us sparc FJSV,GPUZC-M
Architecture: sparc
Machine: sun4us
I execute bootstrap/bootstrap on a SunOS 5.9 machine.  CFLAGS I set is
ignored while bmake is compiled.

CFLAGS is set correctly for the other commands built by bootstrap.
Index: bmake/
RCS file: /usr/cvsup/pkgsrc/bootstrap/bmake/,v
retrieving revision 1.3
diff -d -p -u -r1.3
--- bmake/      26 Nov 2004 12:08:44 -0000      1.3
+++ bmake/      9 Sep 2005 22:08:45 -0000
@@ -14,7 +14,7 @@ MKDEP_OPTS=-A
 MDEFS="-D@force_machine@MACHINE=\"@machine@\"" "-DMACHINE_ARCH=\"@machine_arch@\""
 OBJ=arch.o buf.o compat.o cond.o dir.o for.o hash.o job.o main.o make.o \