Skip to content

Commit

Permalink
build: add -DNDEBUG=1 to clang flags
Browse files Browse the repository at this point in the history
  • Loading branch information
anonrig committed May 31, 2023
1 parent 5e98a74 commit 442fb51
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions node.gyp
Original file line number Diff line number Diff line change
Expand Up @@ -462,6 +462,7 @@
'NODE_ARCH="<(target_arch)"',
'NODE_PLATFORM="<(OS)"',
'NODE_WANT_INTERNALS=1',
'NDEBUG=1',
],

'includes': [
Expand Down Expand Up @@ -808,6 +809,7 @@
# Warn when using deprecated V8 APIs.
'V8_DEPRECATION_WARNINGS=1',
'NODE_OPENSSL_SYSTEM_CERT_PATH="<(openssl_system_ca_path)"',
'NDEBUG=1',
],

# - "C4244: conversion from 'type1' to 'type2', possible loss of data"
Expand Down

0 comments on commit 442fb51

Please sign in to comment.