summaryrefslogtreecommitdiffhomepage
path: root/src
diff options
context:
space:
mode:
authormidipix <writeonce@midipix.org>2016-03-15 13:34:53 -0400
committermidipix <writeonce@midipix.org>2016-03-15 13:34:53 -0400
commit302dac82fec3efe97f9585cb94d7ac8753107e7f (patch)
treefb9ef0d7774eb02af03f64573c49a5fed5d2712f /src
parentb513809c7fbab928b1099fa9ed05dd5059a4947a (diff)
downloadslibtool-302dac82fec3efe97f9585cb94d7ac8753107e7f.tar.bz2
slibtool-302dac82fec3efe97f9585cb94d7ac8753107e7f.tar.xz
driver: skin: add host-related options.
Diffstat (limited to 'src')
-rw-r--r--src/internal/slibtool_driver_impl.h6
-rw-r--r--src/skin/slbt_skin_default.c21
2 files changed, 27 insertions, 0 deletions
diff --git a/src/internal/slibtool_driver_impl.h b/src/internal/slibtool_driver_impl.h
index 572539a..d257d3b 100644
--- a/src/internal/slibtool_driver_impl.h
+++ b/src/internal/slibtool_driver_impl.h
@@ -25,6 +25,12 @@ enum app_tags {
TAG_SILENT,
TAG_TAG,
TAG_VERBOSE,
+ TAG_TARGET,
+ TAG_HOST,
+ TAG_FLAVOR,
+ TAG_AR,
+ TAG_RANLIB,
+ TAG_DLLTOOL,
TAG_OUTPUT,
TAG_NO_SUPPRESS,
TAG_PREFER_PIC,
diff --git a/src/skin/slbt_skin_default.c b/src/skin/slbt_skin_default.c
index cec03db..99ab7e6 100644
--- a/src/skin/slbt_skin_default.c
+++ b/src/skin/slbt_skin_default.c
@@ -48,6 +48,27 @@ const struct argv_option slbt_default_options[] = {
"generate lots of informational messages "
"that nobody can understand"},
+ {"target", 0,TAG_TARGET,ARGV_OPTARG_REQUIRED,0,0,"<target>",
+ "set an explicit (cross-)target, then pass it to "
+ "the compiler"},
+
+ {"host", 0,TAG_HOST,ARGV_OPTARG_REQUIRED,0,0,"<host>",
+ "set an explicit (cross-)host"},
+
+ {"flavor", 0,TAG_FLAVOR,ARGV_OPTARG_REQUIRED,0,
+ "bsd|cygwin|darwin|linux|midipix|mingw",
+ 0,"explicitly specify the host's flavor"},
+
+ {"ar", 0,TAG_AR,ARGV_OPTARG_REQUIRED,0,0,"<ar>",
+ "explicitly specify the archiver to be used"},
+
+ {"ranlib", 0,TAG_RANLIB,ARGV_OPTARG_REQUIRED,0,0,"<ranlib>",
+ "explicitly specify the librarian to be used"},
+
+ {"dlltool", 0,TAG_DLLTOOL,ARGV_OPTARG_REQUIRED,0,0,"<dlltool>",
+ "explicitly specify the PE import library generator "
+ "to be used"},
+
{"warnings", 0,TAG_WARNINGS,ARGV_OPTARG_REQUIRED,0,
"all|none|error",0,
"set the warning reporting level"},