Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit f408d78

Browse filesBrowse files
thangktranrvagg
authored andcommitted
build: fixed clang's warning when building openssl
clang doesn't seem to support 'Wno-old-style-declaration', this is a work-around. Fixes: #25550 Refs: nodejs/node-v0.x-archive#4186 PR-URL: #25954 Reviewed-By: Refael Ackermann <refack@gmail.com> Reviewed-By: Daniel Bevenius <daniel.bevenius@gmail.com> Reviewed-By: Richard Lau <riclau@uk.ibm.com> Reviewed-By: James M Snell <jasnell@gmail.com>
1 parent 14cf22f commit f408d78
Copy full SHA for f408d78

File tree

Expand file treeCollapse file tree

1 file changed

+6
-3
lines changed
Open diff view settings
Filter options
Expand file treeCollapse file tree

1 file changed

+6
-3
lines changed
Open diff view settings
Collapse file

‎deps/openssl/openssl_common.gypi‎

Copy file name to clipboardExpand all lines: deps/openssl/openssl_common.gypi
+6-3Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -57,14 +57,17 @@
5757
],
5858
}, {
5959
# linux and others
60-
'cflags': ['-Wno-missing-field-initializers',
61-
## TODO: check gcc_version>=4.3
62-
'-Wno-old-style-declaration'],
60+
'cflags': ['-Wno-missing-field-initializers',],
6361
'defines': [
6462
'OPENSSLDIR="/etc/ssl"',
6563
'ENGINESDIR="/dev/null"',
6664
'TERMIOS',
6765
],
66+
'conditions': [
67+
[ 'llvm_version==0', {
68+
'cflags': ['-Wno-old-style-declaration',],
69+
}],
70+
],
6871
}],
6972
]
7073
}

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.