summaryrefslogtreecommitdiffhomepage
path: root/src/driver
diff options
context:
space:
mode:
authormidipix <writeonce@midipix.org>2019-06-12 04:17:29 +0000
committermidipix <writeonce@midipix.org>2019-06-12 04:17:29 +0000
commit0d693ebc97d098589fc4ae78ecba9a4b082bca1e (patch)
tree1ea2bb26fff9274f5cb658907980067276dcb87b /src/driver
parent35803045ff749222ab31e3c3312b5c5a3994c412 (diff)
downloadslibtool-0d693ebc97d098589fc4ae78ecba9a4b082bca1e.tar.bz2
slibtool-0d693ebc97d098589fc4ae78ecba9a4b082bca1e.tar.xz
driver: added -XCClinker support.
Diffstat (limited to 'src/driver')
-rw-r--r--src/driver/slbt_driver_ctx.c3
1 files changed, 3 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];