[hackers] [sinit][PATCH] Fix build for guix

From: <vincent.legoll_AT_gmail.com>
Date: Sat, 30 Jul 2016 16:06:41 +0200

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
Received on Sat Jul 30 2016 - 16:06:41 CEST

This archive was generated by hypermail 2.3.0 : Sat Jul 30 2016 - 16:12:14 CEST