diff options
-rw-r--r-- | include/slibtool/slibtool.h | 1 | ||||
-rw-r--r-- | src/driver/slbt_driver_ctx.c | 3 | ||||
-rw-r--r-- | src/skin/slbt_skin_default.c | 2 |
3 files changed, 5 insertions, 1 deletions
diff --git a/include/slibtool/slibtool.h b/include/slibtool/slibtool.h index 7cc387d..1d78ab1 100644 --- a/include/slibtool/slibtool.h +++ b/include/slibtool/slibtool.h @@ -73,6 +73,7 @@ enum slbt_tag { SLBT_TAG_UNKNOWN, SLBT_TAG_CC, SLBT_TAG_CXX, + SLBT_TAG_NASM, }; enum slbt_warning_level { diff --git a/src/driver/slbt_driver_ctx.c b/src/driver/slbt_driver_ctx.c index 3a3aaea..97248c8 100644 --- a/src/driver/slbt_driver_ctx.c +++ b/src/driver/slbt_driver_ctx.c @@ -699,6 +699,9 @@ int slbt_get_driver_ctx( else if (!strcmp("CXX",entry->arg)) cctx.tag = SLBT_TAG_CXX; + + else if (!strcmp("NASM",entry->arg)) + cctx.tag = SLBT_TAG_NASM; break; case TAG_CONFIG: diff --git a/src/skin/slbt_skin_default.c b/src/skin/slbt_skin_default.c index a0bf918..3d2d78f 100644 --- a/src/skin/slbt_skin_default.c +++ b/src/skin/slbt_skin_default.c @@ -21,7 +21,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",0, + "CC|CXX|NASM",0, "a universal playground game"}, {"config", 0,TAG_CONFIG,ARGV_OPTARG_NONE,0,0,0, |