projects
/
oweals
/
openssl.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
00daa2e
)
Configure: make -mno-cygwin optional on mingw platforms [from HEAD].
author
Andy Polyakov
<appro@openssl.org>
Tue, 30 Nov 2010 22:19:26 +0000
(22:19 +0000)
committer
Andy Polyakov
<appro@openssl.org>
Tue, 30 Nov 2010 22:19:26 +0000
(22:19 +0000)
PR: 2381
Configure
patch
|
blob
|
history
diff --git
a/Configure
b/Configure
index 98e52c1543d1c5897b80078e3dac48474fc944da..429ab2e5eb6ebcf757ee1d16347e93578da315f5 100755
(executable)
--- a/
Configure
+++ b/
Configure
@@
-1111,6
+1111,12
@@
my ($prelflags,$postlflags)=split('%',$lflags);
if (defined($postlflags)) { $lflags=$postlflags; }
else { $lflags=$prelflags; undef $prelflags; }
+if ($target =~ /^mingw/ && `$cc --target-help 2>&1` !~ m/\-mno\-cygwin/m)
+ {
+ $cflags =~ s/\-mno\-cygwin\s*//;
+ $shared_ldflag =~ s/\-mno\-cygwin\s*//;
+ }
+
my $no_shared_warn=0;
my $no_user_cflags=0;