From 302dac82fec3efe97f9585cb94d7ac8753107e7f Mon Sep 17 00:00:00 2001 From: midipix Date: Tue, 15 Mar 2016 13:34:53 -0400 Subject: driver: skin: add host-related options. --- src/internal/slibtool_driver_impl.h | 6 ++++++ src/skin/slbt_skin_default.c | 21 +++++++++++++++++++++ 2 files changed, 27 insertions(+) (limited to 'src') 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,"", + "set an explicit (cross-)target, then pass it to " + "the compiler"}, + + {"host", 0,TAG_HOST,ARGV_OPTARG_REQUIRED,0,0,"", + "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,"", + "explicitly specify the archiver to be used"}, + + {"ranlib", 0,TAG_RANLIB,ARGV_OPTARG_REQUIRED,0,0,"", + "explicitly specify the librarian to be used"}, + + {"dlltool", 0,TAG_DLLTOOL,ARGV_OPTARG_REQUIRED,0,0,"", + "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"}, -- cgit v1.2.3