summaryrefslogtreecommitdiff
path: root/config/cc.in
diff options
context:
space:
mode:
authorRay Donnelly <mingw.android@gmail.com>2015-05-29 20:40:49 (GMT)
committerRay Donnelly <mingw.android@gmail.com>2015-05-29 20:49:33 (GMT)
commit541199de3a6dc195898b880b4ef2084c106b53ae (patch)
treefc4e35f81917a5fb5e4931202cb3d6adbc7dea72 /config/cc.in
parent3049c4c1e2483c4109add23738ec838baf42c56e (diff)
config: Add config support for multiple compilers
This change updates the config to support multiple compilers by moving CC_.* to CC_GCC_.* to make room for other compilers. We also update gen_in_frags.sh to check for a default cc. Signed-off-by: Ray Donnelly <mingw.android@gmail.com> Reviewed-by: Yann Diorcet <diorcetyann@gmail.com> Reviewed-by: Bryan Hundven <bryanhundven@gmail.com>
Diffstat (limited to 'config/cc.in')
-rw-r--r--config/cc.in3
1 files changed, 1 insertions, 2 deletions
diff --git a/config/cc.in b/config/cc.in
index aca8380..5603738 100644
--- a/config/cc.in
+++ b/config/cc.in
@@ -4,6 +4,7 @@ menu "C compiler"
config CC
string
+ default "gcc"
config CC_VERSION
string
@@ -134,6 +135,4 @@ config CC_LANG_OTHERS
Eg. gcc-4.1+ has a toy programming language, treelang. As it is not useful
in real life, it is not available in the selection above.
-source "config.gen/cc.in.2"
-
endmenu