1
0
mirror of https://github.com/gophernicus/gophernicus.git synced 2024-06-09 06:20:43 +00:00

use user-defined CC by default

This commit is contained in:
fosslinux 2019-12-31 10:55:43 +11:00
parent 98457da3ff
commit 59e000362d

View File

@ -42,8 +42,7 @@ HAS_STD = /run/systemd/system
SYSCONF = /etc/sysconfig
DEFAULT = /etc/default
CC = gcc
HOSTCC = $(CC)
CC ?= gcc
CFLAGS = -O2 -Wall
LDFLAGS =
@ -95,7 +94,7 @@ functions.h:
@echo
bin2c: bin2c.c
$(HOSTCC) bin2c.c -o $@
$(CC) bin2c.c -o $@
@echo
README: $(README)