summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--include/slibtool/slibtool.h1
-rw-r--r--src/driver/slbt_driver_ctx.c3
-rw-r--r--src/skin/slbt_skin_default.c2
3 files changed, 5 insertions, 1 deletions
diff --git a/include/slibtool/slibtool.h b/include/slibtool/slibtool.h
index 78bf62d..f2e6f0d 100644
--- a/include/slibtool/slibtool.h
+++ b/include/slibtool/slibtool.h
@@ -107,6 +107,7 @@ enum slbt_tag {
SLBT_TAG_CC,
SLBT_TAG_CXX,
SLBT_TAG_NASM,
+ SLBT_TAG_RC,
};
enum slbt_warning_level {
diff --git a/src/driver/slbt_driver_ctx.c b/src/driver/slbt_driver_ctx.c
index 44cdd81..270f268 100644
--- a/src/driver/slbt_driver_ctx.c
+++ b/src/driver/slbt_driver_ctx.c
@@ -1058,6 +1058,9 @@ int slbt_get_driver_ctx(
else if (!strcmp("NASM",entry->arg))
cctx.tag = SLBT_TAG_NASM;
+ else if (!strcmp("RC",entry->arg))
+ cctx.tag = SLBT_TAG_RC;
+
else if (!strcmp("disable-static",entry->arg))
cctx.drvflags |= SLBT_DRIVER_DISABLE_STATIC;
diff --git a/src/skin/slbt_skin_default.c b/src/skin/slbt_skin_default.c
index d8ad0dd..ce8df6f 100644
--- a/src/skin/slbt_skin_default.c
+++ b/src/skin/slbt_skin_default.c
@@ -29,7 +29,7 @@ const struct argv_option slbt_default_options[] = {
"do not make any changes to the file system"},
{"tag", 0,TAG_TAG,ARGV_OPTARG_REQUIRED,0,
- "CC|CXX|NASM|disable-static|disable-shared",0,
+ "CC|CXX|NASM|RC|disable-static|disable-shared",0,
"a universal playground game; "
"currently accepted tags are {%s}"},