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 SYSCONF = /etc/sysconfig
DEFAULT = /etc/default DEFAULT = /etc/default
CC = gcc CC ?= gcc
HOSTCC = $(CC)
CFLAGS = -O2 -Wall CFLAGS = -O2 -Wall
LDFLAGS = LDFLAGS =
@ -97,7 +96,7 @@ functions.h:
@echo @echo
bin2c: bin2c.c bin2c: bin2c.c
$(HOSTCC) bin2c.c -o $@ $(CC) bin2c.c -o $@
@echo @echo
README: $(README) README: $(README)