Re: [hackers] [sinit][PATCH] Fix build for guix
On Sat, Jul 30, 2016 at 4:06 PM, <vincent.legoll_AT_gmail.com> wrote:
> From: Vincent Legoll <vincent.legoll_AT_idgrilles.fr>
>
> Allow CC and PREFIX to be overridden to make sinit
> buildable & installable under guix packaging system
>
> Signed-off-by: Vincent Legoll <vincent.legoll_AT_gmail.com>
> ---
> 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
> _AT_@ -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.
Received on Sat Jul 30 2016 - 18:59:01 CEST
This archive was generated by hypermail 2.3.0
: Sat Jul 30 2016 - 19:00:15 CEST