Allow custom cross compiller prefix

This commit is contained in:
Łukasz Magiera 2016-02-11 21:46:16 +01:00
parent 574eed69e3
commit 684604176d

View File

@ -1,7 +1,9 @@
# LuPI2 Makefile # LuPI2 Makefile
# Default compiler settings. # Default compiler settings.
CC = musl-gcc PREFIX?=musl-
CC = $(PREFIX)gcc
CFLAGS?=-O2 -std=c99 CFLAGS?=-O2 -std=c99
LDFLAGS+= -static LDFLAGS+= -static