On Sat, Jul 30, 2016 at 4:06 PM, <[email protected]> wrote: > From: Vincent Legoll <[email protected]> > > Allow CC and PREFIX to be overridden to make sinit > buildable & installable under guix packaging system > > Signed-off-by: Vincent Legoll <[email protected]> > --- > config.mk | 4 ++-- > 1 file changed, 2 insertions(+), 2 deletions(-) > > diff --git a/config.mk b/config.mk > index c1f87b4..598c9bd 100644 > --- a/config.mk > +++ b/config.mk > @@ -2,10 +2,10 @@ > VERSION = 1.0 > > # paths > -PREFIX = /usr/local > +PREFIX ?= /usr/local > MANPREFIX = $(PREFIX)/share/man > > -CC = cc > +CC ?= cc > LD = $(CC) > CPPFLAGS = > CFLAGS = -Wextra -Wall -Os > -- > 1.9.1 > >
It is not needed: make CC="bla" should work.
