diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/driver/slbt_driver_ctx.c | 3 | ||||
-rw-r--r-- | src/skin/slbt_skin_default.c | 5 |
2 files changed, 8 insertions, 0 deletions
diff --git a/src/driver/slbt_driver_ctx.c b/src/driver/slbt_driver_ctx.c index 098ff48..f5e7ef2 100644 --- a/src/driver/slbt_driver_ctx.c +++ b/src/driver/slbt_driver_ctx.c @@ -503,6 +503,9 @@ static int slbt_split_argv( } else if (!(strcmp("Xcompiler",&argv[i][1]))) { *cargv++ = argv[++i]; + } else if (!(strcmp("XCClinker",&argv[i][1]))) { + *cargv++ = argv[++i]; + } else if ((argv[i][1] == 'R') && (argv[i][2] == 0)) { *targv++ = argv[i++]; *targv++ = argv[i]; diff --git a/src/skin/slbt_skin_default.c b/src/skin/slbt_skin_default.c index 334c69a..c7a51c1 100644 --- a/src/skin/slbt_skin_default.c +++ b/src/skin/slbt_skin_default.c @@ -276,6 +276,11 @@ const struct argv_option slbt_default_options[] = { 0,"<flag>", "pass a raw flag to the compiler"}, + {"XCClinker", 0,TAG_VERBATIM_FLAG,ARGV_OPTARG_REQUIRED, + ARGV_OPTION_HYBRID_ONLY|ARGV_OPTION_HYBRID_SPACE, + 0,"<flag>", + "pass a raw flag to the compiler linker-driver"}, + {"no-undefined", 0,TAG_NO_UNDEFINED,ARGV_OPTARG_NONE, ARGV_OPTION_HYBRID_ONLY,0,0, "disallow unresolved references"}, |