Skip to content

Commit 442fb51

Browse files
committed
build: add -DNDEBUG=1 to clang flags
1 parent 5e98a74 commit 442fb51

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

node.gyp

+2
Original file line numberDiff line numberDiff line change
@@ -462,6 +462,7 @@
462462
'NODE_ARCH="<(target_arch)"',
463463
'NODE_PLATFORM="<(OS)"',
464464
'NODE_WANT_INTERNALS=1',
465+
'NDEBUG=1',
465466
],
466467

467468
'includes': [
@@ -808,6 +809,7 @@
808809
# Warn when using deprecated V8 APIs.
809810
'V8_DEPRECATION_WARNINGS=1',
810811
'NODE_OPENSSL_SYSTEM_CERT_PATH="<(openssl_system_ca_path)"',
812+
'NDEBUG=1',
811813
],
812814

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

0 commit comments

Comments
 (0)