Răsfoiți Sursa

include: let HOSTCC default to $(CC), not gcc

Signed-off-by: Jo-Philipp Wich <[email protected]>

SVN-Revision: 44277
Jo-Philipp Wich 10 ani în urmă
părinte
comite
2cdba572f9
1 a modificat fișierele cu 1 adăugiri și 1 ștergeri
  1. 1 1
      include/toplevel.mk

+ 1 - 1
include/toplevel.mk

@@ -19,7 +19,7 @@ else
   REVISION:=$(shell $(TOPDIR)/scripts/getver.sh)
   REVISION:=$(shell $(TOPDIR)/scripts/getver.sh)
 endif
 endif
 
 
-HOSTCC ?= gcc
+HOSTCC ?= $(CC)
 OPENWRTVERSION:=$(RELEASE)$(if $(REVISION), ($(REVISION)))
 OPENWRTVERSION:=$(RELEASE)$(if $(REVISION), ($(REVISION)))
 export RELEASE
 export RELEASE
 export REVISION
 export REVISION