build: suppress OpenSSL asm warnings with clang · nodejs/node@a6bd0c1 · GitHub
Skip to content

Commit a6bd0c1

Browse files
richardlauaduh95
authored andcommitted
build: suppress OpenSSL asm warnings with clang
Unlike gcc, clang warns when arguments are passed that are not used. For OpenSSL, this includes passing C preprocessor directives when compiling `.s` files. Suppress the warning (`-Wno-unused-command-line-argument`) when using clang. Signed-off-by: Richard Lau <richard.lau@ibm.com> PR-URL: #66023 Reviewed-By: Filip Skokan <panva.ip@gmail.com> Reviewed-By: Luigi Pinca <luigipinca@gmail.com> Reviewed-By: René <contact.9a5d6388@renegade334.me.uk> Reviewed-By: Xuguang Mei <meixuguang@gmail.com> Reviewed-By: James M Snell <jasnell@gmail.com>
1 parent b653813 commit a6bd0c1

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

‎deps/openssl/openssl_asm.gypi‎

Lines changed: 3 additions & 0 deletions

0 commit comments

Comments
 (0)