diff options
Diffstat (limited to 'config')
-rw-r--r-- | config/cc.in | 31 | ||||
-rw-r--r-- | config/cc/gcc.in | 13 |
2 files changed, 16 insertions, 28 deletions
diff --git a/config/cc.in b/config/cc.in index a88832e..d383be3 100644 --- a/config/cc.in +++ b/config/cc.in @@ -2,38 +2,13 @@ menu "C compiler" -choice - bool - prompt "C compiler flavour" - default CC_GCC - -config CC_GCC - bool - prompt "gcc" - select CC_SUPPORT_CXX - select CC_SUPPORT_FORTRAN - select CC_SUPPORT_JAVA - select CC_SUPPORT_ADA - select CC_SUPPORT_OBJC - select CC_SUPPORT_OBJCXX - help - gcc is the full-blown GNU compiler. This is what most people will choose. - - gcc supports many languages, a powerful code parser, optimised binary - output, and lots of other features. - -endchoice - -config CC_VERSION +config CC string -config CC +config CC_VERSION string - default "gcc" if CC_GCC -if CC_GCC -source config/cc/gcc.in -endif +source config.gen/cc.in config CC_SUPPORT_CXX bool diff --git a/config/cc/gcc.in b/config/cc/gcc.in index e280ad1..ededcae 100644 --- a/config/cc/gcc.in +++ b/config/cc/gcc.in @@ -1,5 +1,18 @@ # Compiler options +config CC_gcc + select CC_SUPPORT_CXX + select CC_SUPPORT_FORTRAN + select CC_SUPPORT_JAVA + select CC_SUPPORT_ADA + select CC_SUPPORT_OBJC + select CC_SUPPORT_OBJCXX + help + gcc is the full-blown GNU compiler. This is what most people will choose. + + gcc supports many languages, a powerful code parser, optimised binary + output, and lots of other features. + choice bool prompt "gcc version" |