Mercurial > hg > aboriginal
changeset 1250:be39ef99f183
And e2fsprogs needs "--shared", not just "-shared". I'm not sure playing whack-a-mole with --long -> -long option conversion is the best way for the wrapper to approach this, but until somebody explains the logic of which longopts gcc accepts a single dash for and which it doesn't...
author | Rob Landley <rob@landley.net> |
---|---|
date | Thu, 16 Sep 2010 19:35:32 -0500 |
parents | b84cf2f3ef53 |
children | 204238871b7c |
files | sources/toys/ccwrap.c |
diffstat | 1 files changed, 2 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/sources/toys/ccwrap.c Wed Sep 15 21:31:16 2010 -0500 +++ b/sources/toys/ccwrap.c Thu Sep 16 19:35:32 2010 -0500 @@ -371,7 +371,8 @@ case '-': if (!strncmp(argv[i],"--print-",8) - || !strncmp(argv[i],"--static",8)) + || !strncmp(argv[i],"--static",8) + || !strncmp(argv[i],"--shared",8)) { argv[i]++; i--;