62b4bb
driver: added --tag=NASM support.
@@ -73,6 +73,7 @@ enum slbt_tag {
|
|
73
73
|
SLBT_TAG_UNKNOWN,
|
74
74
|
SLBT_TAG_CC,
|
75
75
|
SLBT_TAG_CXX,
|
76
|
+
SLBT_TAG_NASM,
|
76
77
|
};
|
77
78
|
|
78
79
|
enum slbt_warning_level {
|
@@ -699,6 +699,9 @@ int slbt_get_driver_ctx(
|
|
699
699
|
|
700
700
|
else if (!strcmp("CXX",entry->arg))
|
701
701
|
cctx.tag = SLBT_TAG_CXX;
|
702
|
+
|
703
|
+
else if (!strcmp("NASM",entry->arg))
|
704
|
+
cctx.tag = SLBT_TAG_NASM;
|
702
705
|
break;
|
703
706
|
|
704
707
|
case TAG_CONFIG:
|
@@ -21,7 +21,7 @@ const struct argv_option slbt_default_options[] = {
|
|
21
21
|
"do not make any changes to the file system"},
|
22
22
|
|
23
23
|
{"tag", 0,TAG_TAG,ARGV_OPTARG_REQUIRED,0,
|
24
|
-
"CC|CXX",0,
|
24
|
+
"CC|CXX|NASM",0,
|
25
25
|
"a universal playground game"},
|
26
26
|
|
27
27
|
{"config", 0,TAG_CONFIG,ARGV_OPTARG_NONE,0,0,0,
|