aboutsummaryrefslogtreecommitdiff
path: root/vcpkg-ports/openssl/windows/flags.patch
diff options
context:
space:
mode:
Diffstat (limited to 'vcpkg-ports/openssl/windows/flags.patch')
-rw-r--r--vcpkg-ports/openssl/windows/flags.patch35
1 files changed, 35 insertions, 0 deletions
diff --git a/vcpkg-ports/openssl/windows/flags.patch b/vcpkg-ports/openssl/windows/flags.patch
new file mode 100644
index 00000000..69b203c0
--- /dev/null
+++ b/vcpkg-ports/openssl/windows/flags.patch
@@ -0,0 +1,35 @@
+diff --git a/Configurations/10-main.conf b/Configurations/10-main.conf
+index 66bc81d..2364633 100644
+--- a/Configurations/10-main.conf
++++ b/Configurations/10-main.conf
+@@ -1302,7 +1302,7 @@ my %targets = (
+ inherit_from => [ "BASE_Windows" ],
+ template => 1,
+ CC => "cl",
+- CPP => '"$(CC)" /EP /C',
++ CPP => '$(CC) /EP /C',
+ CFLAGS => "/W3 /wd4090 /nologo",
+ coutflag => "/Fo",
+ LD => "link",
+diff --git a/Configure b/Configure
+index 8b234f6..e031768 100644
+--- a/Configure
++++ b/Configure
+@@ -680,7 +680,7 @@ my $list_separator_re =
+ # (we supported those before the change to "make variable" support.
+ my %user = (
+ AR => env('AR'),
+- ARFLAGS => [],
++ ARFLAGS => [ env('ARFLAGS') || () ],
+ AS => undef,
+ ASFLAGS => [],
+ CC => env('CC'),
+@@ -693,7 +693,7 @@ my %user = (
+ CPPINCLUDES => [], # Alternative for -I
+ CROSS_COMPILE => env('CROSS_COMPILE'),
+ HASHBANGPERL=> env('HASHBANGPERL') || env('PERL'),
+- LD => undef,
++ LD => env('LD'),
+ LDFLAGS => [ env('LDFLAGS') || () ], # -L, -Wl,
+ LDLIBS => [ env('LDLIBS') || () ], # -l
+ MT => undef,