diff options
-rw-r--r-- | src/driver/slbt_driver_ctx.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/driver/slbt_driver_ctx.c b/src/driver/slbt_driver_ctx.c index ed267cd..1993414 100644 --- a/src/driver/slbt_driver_ctx.c +++ b/src/driver/slbt_driver_ctx.c @@ -508,6 +508,11 @@ static int slbt_init_host_params( host->flavor = "default"; cfgmeta->flavor = "fallback, unverified"; } + + if (fcompiler && !fnative) + if ((mark = strstr(drvhost->machine,host->flavor))) + if (mark > drvhost->machine) + fnative = (*--mark == '-'); } /* toollen */ |