Skip to content

Commit

Permalink
make always sets CC, so the code to set it never ran
Browse files Browse the repository at this point in the history
  • Loading branch information
fhunleth committed Aug 14, 2017
1 parent 7abddd5 commit 36fbed6
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions Makefile
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Variables to override
#
# CC C compiler
# CC C compiler. MUST be set if crosscompiling
# CROSSCOMPILE crosscompiler prefix, if any
# CFLAGS compiler flags for compiling all C files
# LDFLAGS linker flags for linking all binaries
Expand All @@ -26,7 +26,6 @@ DEFAULT_TARGETS ?= priv priv/udhcpc_wrapper
LDFLAGS +=
CFLAGS ?= -O2 -Wall -Wextra -Wno-unused-parameter
CFLAGS += -std=c99
CC ?= $(CROSSCOMPILE)-gcc

# If not cross-compiling, then run sudo by default
ifeq ($(origin CROSSCOMPILE), undefined)
Expand Down

0 comments on commit 36fbed6

Please sign in to comment.