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:
parent
25c25ac7eb
commit
94e666071d
5
Makefile
5
Makefile
@ -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)
|
||||||
|
Loading…
Reference in New Issue
Block a user