summaryrefslogtreecommitdiffhomepage
path: root/src/driver
diff options
context:
space:
mode:
Diffstat (limited to 'src/driver')
-rw-r--r--src/driver/slbt_driver_ctx.c9
1 files changed, 1 insertions, 8 deletions
diff --git a/src/driver/slbt_driver_ctx.c b/src/driver/slbt_driver_ctx.c
index 578a7c2..9b984e0 100644
--- a/src/driver/slbt_driver_ctx.c
+++ b/src/driver/slbt_driver_ctx.c
@@ -296,14 +296,7 @@ static int slbt_split_argv(
else if (!(strcmp("Xcompiler",&argv[i][1])))
*cargv++ = argv[++i];
- else if (!(strncmp("-target=",&argv[i][1],strlen("-target="))))
- *targv++ = argv[i];
-
- else if (!(strcmp("-target",&argv[i][1]))) {
- *targv++ = argv[i++];
- *targv++ = argv[i];
-
- } else if ((argv[i][1] == 'R') && (argv[i][2] == 0)) {
+ else if ((argv[i][1] == 'R') && (argv[i][2] == 0)) {
*targv++ = argv[i++];
*targv++ = argv[i];