# HG changeset patch # User Rob Landley # Date 1284683732 18000 # Node ID be39ef99f183abeb21b52a2a96b591fd7c0ce11f # Parent b84cf2f3ef53ed6b8ad5f9b4edcdc0a1a5996dac 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... diff -r b84cf2f3ef53 -r be39ef99f183 sources/toys/ccwrap.c --- 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--;