summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authormidipix <writeonce@midipix.org>2019-04-24 22:59:38 -0400
committermidipix <writeonce@midipix.org>2019-04-24 22:59:38 -0400
commit1bd7a315100f6ae9fd6254a1fefdbc5edd9ff550 (patch)
tree3d4f925a0e692d1a7fb44ec78d80de9d3c592946
parent5f2aa4e1b430ebf05f45705acd31ed877584e5e9 (diff)
downloadslibtool-1bd7a315100f6ae9fd6254a1fefdbc5edd9ff550.tar.bz2
slibtool-1bd7a315100f6ae9fd6254a1fefdbc5edd9ff550.tar.xz
driver: added F77 support.
-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 360ec7c..2738080 100644
--- a/include/slibtool/slibtool.h
+++ b/include/slibtool/slibtool.h
@@ -110,6 +110,7 @@ enum slbt_tag {
SLBT_TAG_UNKNOWN,
SLBT_TAG_CC,
SLBT_TAG_CXX,
+ SLBT_TAG_F77,
SLBT_TAG_NASM,
SLBT_TAG_RC,
};
diff --git a/src/driver/slbt_driver_ctx.c b/src/driver/slbt_driver_ctx.c
index da8bc76..4ff364b 100644
--- a/src/driver/slbt_driver_ctx.c
+++ b/src/driver/slbt_driver_ctx.c
@@ -1318,6 +1318,9 @@ int slbt_get_driver_ctx(
else if (!strcmp("CXX",entry->arg))
cctx.tag = SLBT_TAG_CXX;
+ else if (!strcmp("F77",entry->arg))
+ cctx.tag = SLBT_TAG_F77;
+
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 6300d8f..334c69a 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|NASM|RC|disable-static|disable-shared",0,
+ "CC|CXX|F77|NASM|RC|disable-static|disable-shared",0,
"a universal playground game; "
"currently accepted tags are {%s}"},