sim: Use generic name (cc) than GCC specific (gcc)
This makes it easier to use clang on ubuntu.
This commit is contained in:
parent
842392beda
commit
b21e809d58
@ -71,9 +71,9 @@ ifeq ($(CONFIG_SIM_M32),y)
|
||||
endif
|
||||
|
||||
CROSSDEV =
|
||||
CC = $(CROSSDEV)gcc
|
||||
CXX = $(CROSSDEV)g++
|
||||
CPP = $(CROSSDEV)gcc -E
|
||||
CC = $(CROSSDEV)cc
|
||||
CXX = $(CROSSDEV)c++
|
||||
CPP = $(CROSSDEV)cc -E
|
||||
LD = $(CROSSDEV)ld
|
||||
STRIP = $(CROSSDEV)strip --strip-unneeded
|
||||
AR = $(CROSSDEV)ar rcs
|
||||
@ -133,7 +133,7 @@ endif
|
||||
|
||||
MKDEP = $(TOPDIR)/tools/mkdeps$(HOSTEXEEXT)
|
||||
|
||||
HOSTCC = gcc
|
||||
HOSTCC = cc
|
||||
HOSTINCLUDES = -I.
|
||||
HOSTCFLAGS = $(ARCHWARNINGS) $(ARCHOPTIMIZATION) \
|
||||
$(ARCHCPUFLAGS) $(HOSTINCLUDES) $(ARCHDEFINES) $(EXTRADEFINES) -pipe
|
||||
|
@ -68,9 +68,9 @@ ifeq ($(CONFIG_SIM_M32),y)
|
||||
endif
|
||||
|
||||
CROSSDEV =
|
||||
CC = $(CROSSDEV)gcc
|
||||
CXX = $(CROSSDEV)g++
|
||||
CPP = $(CROSSDEV)gcc -E
|
||||
CC = $(CROSSDEV)cc
|
||||
CXX = $(CROSSDEV)c++
|
||||
CPP = $(CROSSDEV)cc -E
|
||||
LD = $(CROSSDEV)ld
|
||||
AR = $(CROSSDEV)ar rcs
|
||||
NM = $(CROSSDEV)nm
|
||||
@ -126,7 +126,7 @@ endif
|
||||
|
||||
MKDEP = $(TOPDIR)/tools/mkdeps$(HOSTEXEEXT)
|
||||
|
||||
HOSTCC = gcc
|
||||
HOSTCC = cc
|
||||
HOSTINCLUDES = -I.
|
||||
HOSTCFLAGS = $(ARCHWARNINGS) $(ARCHOPTIMIZATION) \
|
||||
$(ARCHCPUFLAGS) $(HOSTINCLUDES) $(ARCHDEFINES) $(EXTRADEFINES) -pipe
|
||||
|
@ -74,9 +74,9 @@ ifeq ($(CONFIG_SIM_M32),y)
|
||||
endif
|
||||
|
||||
CROSSDEV =
|
||||
CC = $(CROSSDEV)gcc
|
||||
CXX = $(CROSSDEV)g++
|
||||
CPP = $(CROSSDEV)gcc -E
|
||||
CC = $(CROSSDEV)cc
|
||||
CXX = $(CROSSDEV)c++
|
||||
CPP = $(CROSSDEV)cc -E
|
||||
LD = $(CROSSDEV)ld
|
||||
STRIP = $(CROSSDEV)strip --strip-unneeded
|
||||
AR = $(CROSSDEV)ar rcs
|
||||
@ -133,7 +133,7 @@ endif
|
||||
|
||||
MKDEP = $(TOPDIR)/tools/mkdeps$(HOSTEXEEXT)
|
||||
|
||||
HOSTCC = gcc
|
||||
HOSTCC = cc
|
||||
HOSTINCLUDES = -I.
|
||||
HOSTCFLAGS = $(ARCHWARNINGS) $(ARCHOPTIMIZATION) \
|
||||
$(ARCHCPUFLAGS) $(HOSTINCLUDES) $(ARCHDEFINES) $(EXTRADEFINES) -pipe
|
||||
|
Loading…
Reference in New Issue
Block a user