diff options
Diffstat (limited to 'build2/c')
-rw-r--r-- | build2/c/init.cxx | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/build2/c/init.cxx b/build2/c/init.cxx index 63043d7..56b3f02 100644 --- a/build2/c/init.cxx +++ b/build2/c/init.cxx @@ -13,6 +13,14 @@ #include <build2/c/target.hxx> +#ifndef BUILD2_DEFAULT_C +# ifdef BUILD2_NATIVE_C +# define BUILD2_DEFAULT_C BUILD2_NATIVE_C +# else +# define BUILD2_DEFAULT_C "" +# endif +#endif + using namespace std; using namespace butl; @@ -145,7 +153,7 @@ namespace build2 "c", "c", - "gcc", + BUILD2_DEFAULT_C, ".i", hinters, |