From 62b4bbde0e3311bbd5d06e0c9dcecd7834f14443 Mon Sep 17 00:00:00 2001 From: midipix Date: Apr 21 2016 00:28:28 +0000 Subject: driver: added --tag=NASM support. --- 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,