Skip to content

Commit 46a3a7e

Browse files
committed
Modify gyp/gypi file for building openssl
1 parent 937e6cf commit 46a3a7e

2 files changed

Lines changed: 5 additions & 1 deletion

File tree

vendor/openssl/openssl.gyp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -140,7 +140,7 @@
140140
'cflags': ['-Wno-old-style-declaration'],
141141
}],
142142
['OS=="linux"', {
143-
'defines': ['-Wa,-q']
143+
'cflags': ['-march=native']
144144
}],
145145
['OS=="solaris"', {
146146
'defines': ['__EXTENSIONS__'],

vendor/openssl/openssl.gypi

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1273,6 +1273,10 @@
12731273
'openssl_default_libraries_win': [
12741274
'-lgdi32.lib',
12751275
'-luser32.lib',
1276+
'-lwsock32.lib',
1277+
'-lwinhttp.lib',
1278+
'-lcrypt32.lib',
1279+
'-lrpcrt4.lib'
12761280
],
12771281
'openssl_default_defines_not_win': [
12781282
# ENGINESDIR must be defined if OPENSSLDIR is.

0 commit comments

Comments
 (0)