1
0
mirror of https://github.com/gophernicus/gophernicus.git synced 2024-11-03 04:27:17 -05:00

use user-defined CC by default

This commit is contained in:
fosslinux 2019-12-31 10:55:43 +11:00
parent 25c25ac7eb
commit 94e666071d

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 =
@ -97,7 +96,7 @@ functions.h:
@echo
bin2c: bin2c.c
$(HOSTCC) bin2c.c -o $@
$(CC) bin2c.c -o $@
@echo
README: $(README)