From 684604176d58d71d9f278383d3d67f5ad7be9cfe Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C5=81ukasz=20Magiera?= Date: Thu, 11 Feb 2016 21:46:16 +0100 Subject: [PATCH] Allow custom cross compiller prefix --- Makefile | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/Makefile b/Makefile index f834b79..0db217c 100644 --- a/Makefile +++ b/Makefile @@ -1,7 +1,9 @@ # LuPI2 Makefile # Default compiler settings. -CC = musl-gcc +PREFIX?=musl- + +CC = $(PREFIX)gcc CFLAGS?=-O2 -std=c99 LDFLAGS+= -static