diff options
author | midipix <writeonce@midipix.org> | 2016-03-06 22:21:51 -0500 |
---|---|---|
committer | midipix <writeonce@midipix.org> | 2016-03-08 14:21:09 -0500 |
commit | 116dbb9f65f5fe7d30801b00ef8b81710e2041a4 (patch) | |
tree | 5856112a7a37653c90744487f905b588d7d56134 /src/skin/slbt_skin_default.c | |
parent | 25956b76b3b85d88987710d589babc9029f5103d (diff) | |
download | slibtool-116dbb9f65f5fe7d30801b00ef8b81710e2041a4.tar.bz2 slibtool-116dbb9f65f5fe7d30801b00ef8b81710e2041a4.tar.xz |
driver: added option table records for --mode=compile.
Diffstat (limited to 'src/skin/slbt_skin_default.c')
-rw-r--r-- | src/skin/slbt_skin_default.c | 34 |
1 files changed, 34 insertions, 0 deletions
diff --git a/src/skin/slbt_skin_default.c b/src/skin/slbt_skin_default.c index 5e94612..cec03db 100644 --- a/src/skin/slbt_skin_default.c +++ b/src/skin/slbt_skin_default.c @@ -57,5 +57,39 @@ const struct argv_option slbt_default_options[] = { "all|none|error","", "convenient shorthands for the above"}, + {"output", 'o',TAG_OUTPUT,ARGV_OPTARG_REQUIRED,0,0,"<file>", + "write output to %s"}, + + {"no-suppress", 0,TAG_NO_SUPPRESS,ARGV_OPTARG_NONE, + ARGV_OPTION_HYBRID_ONLY,0,0, + "transparently forward all " + "compiler-generated output"}, + + {"prefer-pic", 0,TAG_PREFER_PIC,ARGV_OPTARG_NONE, + ARGV_OPTION_HYBRID_ONLY,0,0, + "pick on non-PIC objects"}, + + {"prefer-non-pic", 0,TAG_PREFER_NON_PIC,ARGV_OPTARG_NONE, + ARGV_OPTION_HYBRID_ONLY,0,0, + "pick on PIC objects"}, + + {"shared", 0,TAG_SHARED,ARGV_OPTARG_NONE, + ARGV_OPTION_HYBRID_ONLY,0,0, + "only build .libs/srcfile.o"}, + + {"static", 0,TAG_STATIC,ARGV_OPTARG_NONE, + ARGV_OPTION_HYBRID_ONLY,0,0, + "only build ./srcfile.o"}, + + {"Wc", 0,TAG_COMPILER_FLAG,ARGV_OPTARG_REQUIRED, + ARGV_OPTION_HYBRID_ONLY|ARGV_OPTION_HYBRID_COMMA, + 0,"<flag>[,<flag]...", + "pass comma-separated flags to the compiler"}, + + {"Xcompiler", 0,TAG_VERBATIM_FLAG,ARGV_OPTARG_REQUIRED, + ARGV_OPTION_HYBRID_ONLY|ARGV_OPTION_HYBRID_SPACE, + 0,"<flag>", + "pass a raw flag to the compiler"}, + {0,0,0,0,0,0,0,0} }; |