From fb5e7fb8cff2f935c814642502aba5b0d4e8c040 Mon Sep 17 00:00:00 2001 From: midipix Date: Feb 14 2024 20:55:49 +0000 Subject: driver: added --tag=ASM support. --- diff --git a/include/slibtool/slibtool.h b/include/slibtool/slibtool.h index e31e3c0..b081e57 100644 --- a/include/slibtool/slibtool.h +++ b/include/slibtool/slibtool.h @@ -150,6 +150,7 @@ enum slbt_tag { SLBT_TAG_CXX, SLBT_TAG_FC, SLBT_TAG_F77, + SLBT_TAG_ASM, SLBT_TAG_NASM, SLBT_TAG_RC, }; diff --git a/src/driver/slbt_driver_ctx.c b/src/driver/slbt_driver_ctx.c index 52aa0af..82514bc 100644 --- a/src/driver/slbt_driver_ctx.c +++ b/src/driver/slbt_driver_ctx.c @@ -482,6 +482,9 @@ int slbt_get_driver_ctx( else if (!strcmp("F77",entry->arg)) cctx.tag = SLBT_TAG_F77; + else if (!strcmp("ASM",entry->arg)) + cctx.tag = SLBT_TAG_ASM; + else if (!strcmp("NASM",entry->arg)) cctx.tag = SLBT_TAG_NASM; diff --git a/src/skin/slbt_skin_default.c b/src/skin/slbt_skin_default.c index 458611c..3cd62e5 100644 --- a/src/skin/slbt_skin_default.c +++ b/src/skin/slbt_skin_default.c @@ -35,7 +35,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|FC|F77|NASM|RC|disable-static|disable-shared",0, + "CC|CXX|FC|F77|ASM|NASM|RC|disable-static|disable-shared",0, "a universal playground game; " "currently accepted tags are {%s}"},