pkgsrc-Bugs archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
pkg/31281: bootstrap/bootstrap ignores CFLAGS while bmake is compiled
>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
>Organization:
Japan Advanced Institute of Science and Technology (JAIST)
>Environment:
System: SunOS lss2-is26 5.9 Generic_112233-08 sun4us sparc FJSV,GPUZC-M
Architecture: sparc
Machine: sun4us
>Description:
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.
>How-To-Repeat:
>Fix:
Index: bmake/makefile.boot.in
===================================================================
RCS file: /usr/cvsup/pkgsrc/bootstrap/bmake/makefile.boot.in,v
retrieving revision 1.3
diff -d -p -u -r1.3 makefile.boot.in
--- bmake/makefile.boot.in 26 Nov 2004 12:08:44 -0000 1.3
+++ bmake/makefile.boot.in 9 Sep 2005 22:08:45 -0000
@@ -14,7 +14,7 @@ MKDEP_OPTS=-A
MK=${prefix}/share/mk
MKSRC=${srcdir}/mk
-CFLAGS=-I. -I$(srcdir) @DEFS@ @CPPFLAGS@ -DMAKE_BOOTSTRAP ${XDEFS}
+CFLAGS=-I. -I$(srcdir) @DEFS@ @CPPFLAGS@ @CFLAGS@ -DMAKE_BOOTSTRAP ${XDEFS}
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 \
Home |
Main Index |
Thread Index |
Old Index