It appears if you pass something like: ./Configure linux-mips --sysroot=/opt/uclibc
because the Configure script doesn't expect compiler options to begin with 2 hyphens, it errors out. The attached patch against OpenSSL 1.0.1c fixes that. Thanks. -Brad
diff -ruN openssl-1.0.1c.old/Configure openssl-1.0.1c/Configure --- openssl-1.0.1c.old/Configure 2012-03-14 18:20:40.000000000 -0400 +++ openssl-1.0.1c/Configure 2012-09-07 12:25:47.628436677 -0400 @@ -869,11 +869,6 @@ { $libs.=$_." "; } - elsif (/^-[^-]/ or /^\+/) - { - $_ =~ s/%([0-9a-f]{1,2})/chr(hex($1))/gei; - $flags.=$_." "; - } elsif (/^--prefix=(.*)$/) { $prefix=$1; @@ -918,6 +913,11 @@ { $cross_compile_prefix=$1; } + elsif (/^-/ or /^\+/) + { + $_ =~ s/%([0-9a-f]{1,2})/chr(hex($1))/gei; + $flags.=$_." "; + } else { print STDERR $usage;