On 2006-11-01 12:55 -0500, oliver gould wrote: > --- share/mk/sys.mk 2006-10-18 17:17:20.000000000 -0400 > +++ /tmp/sys.mk 2006-11-01 12:34:57.000000000 -0500 > @@ -21,9 +21,11 @@ > LINK.S?= ${CC} ${AFLAGS} ${CPPFLAGS} ${LDFLAGS} > > .if exists(/usr/bin/gcc) > -CC?= gcc -pipe > +CC?= gcc > +CFLAGS+= -pipe > .else > -CC?= cc -pipe > +CC?= cc > +CFLAGS+= -pipe > .endif > DBG?= -O2 > CFLAGS?= ${DBG} Uh, oops. I realized how braindead this patch was after sending it. It should be more like: --- pkg/share/mk/sys.mk 2006-10-18 17:17:20.000000000 -0400 +++ /home/ogould/work/sys.mk 2006-11-01 13:07:03.000000000 -0500 @@ -21,12 +21,12 @@ LINK.S?= ${CC} ${AFLAGS} ${CPPFLAGS} ${LDFLAGS} .if exists(/usr/bin/gcc) -CC?= gcc -pipe +CC?= gcc .else -CC?= cc -pipe +CC?= cc .endif DBG?= -O2 -CFLAGS?= ${DBG} +CFLAGS?= -pipe ${DBG} COMPILE.c?= ${CC} ${CFLAGS} ${CPPFLAGS} -c LINK.c?= ${CC} ${CFLAGS} ${CPPFLAGS} ${LDFLAGS} -- .oliver
Attachment:
pgpAoh8lE5QgS.pgp
Description: PGP signature