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>
This commit is contained in:
parent
4f7c0e8b14
commit
912952ef9b
1 changed files with 3 additions and 1 deletions
4
mkenv.mk
4
mkenv.mk
|
@ -44,12 +44,14 @@ SED = sed
|
||||||
PYTHON = python
|
PYTHON = python
|
||||||
|
|
||||||
AS = $(CROSS_COMPILE)gcc $(CFLAGS) -D__ASSEMBLY__
|
AS = $(CROSS_COMPILE)gcc $(CFLAGS) -D__ASSEMBLY__
|
||||||
CC = $(CROSS_COMPILE)clang
|
CC = $(CROSS_COMPILE)gcc
|
||||||
LD = $(CROSS_COMPILE)ld
|
LD = $(CROSS_COMPILE)ld
|
||||||
OBJCOPY = $(CROSS_COMPILE)objcopy
|
OBJCOPY = $(CROSS_COMPILE)objcopy
|
||||||
SIZE = $(CROSS_COMPILE)size
|
SIZE = $(CROSS_COMPILE)size
|
||||||
STRIP = $(CROSS_COMPILE)strip
|
STRIP = $(CROSS_COMPILE)strip
|
||||||
|
|
||||||
|
CC_NATIVE ?= gcc
|
||||||
|
|
||||||
all:
|
all:
|
||||||
.PHONY: all
|
.PHONY: all
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue