Skip to content

Commit

Permalink
Use CC for CC_FOR_BUILD when unspecified.
Browse files Browse the repository at this point in the history
(GC): Let's put the pre-requisite first rather than making a FTBFS commit

Signed-off-by: Gene Cumm <gene.cumm@gmail.com>
  • Loading branch information
joakim-tjernlund authored and geneC committed Nov 23, 2017
1 parent c05fde2 commit e28fa26
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
2 changes: 2 additions & 0 deletions efi/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,8 @@ VPATH = $(SRC)
include $(MAKEDIR)/lib.mk
include $(MAKEDIR)/efi.mk

CC_FOR_BUILD ?= $(CC)

# Upstream gnu-efi has old-style function definitions.
CFLAGS += -Wno-strict-prototypes

Expand Down
2 changes: 2 additions & 0 deletions utils/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,8 @@
VPATH = $(SRC)
include $(MAKEDIR)/syslinux.mk

CC_FOR_BUILD ?= $(CC)

CFLAGS = $(GCCWARN) -Os -fomit-frame-pointer -D_FILE_OFFSET_BITS=64 -I$(SRC)
LDFLAGS = -O2

Expand Down

0 comments on commit e28fa26

Please sign in to comment.