Skip to content

Commit 912952e

Browse files
author
Sean Cross
committed
mkenv: Move away from clang
It was nice, but it isn't as good at cross-compiling yet. Plus, by sticking with gcc, we have one compiler throughout the entire system. Signed-off-by: Sean Cross <xobs@kosagi.com>
1 parent 4f7c0e8 commit 912952e

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

mkenv.mk

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,12 +44,14 @@ SED = sed
4444
PYTHON = python
4545

4646
AS = $(CROSS_COMPILE)gcc $(CFLAGS) -D__ASSEMBLY__
47-
CC = $(CROSS_COMPILE)clang
47+
CC = $(CROSS_COMPILE)gcc
4848
LD = $(CROSS_COMPILE)ld
4949
OBJCOPY = $(CROSS_COMPILE)objcopy
5050
SIZE = $(CROSS_COMPILE)size
5151
STRIP = $(CROSS_COMPILE)strip
5252

53+
CC_NATIVE ?= gcc
54+
5355
all:
5456
.PHONY: all
5557

0 commit comments

Comments
 (0)