Lines Matching +full:- +full:- +full:enable +full:- +full:werror
5 'werror': '', # Turn off -Werror in V8 build.
12 'msvs_multi_core_compile': '0', # we do enable multicore compiles, but not using the V8 way
38 # Increment by one for each non-official patch applied to deps/v8.
39 'v8_embedder_string': '-node.87',
49 # Enable compiler warnings when using V8_DEPRECATED apis from V8 code.
51 # Enable compiler warnings when using V8_DEPRECATE_SOON apis from V8 code.
54 # Enable disassembler for `--print-code` v8 options
57 # Sets -dOBJECT_PRINT.
65 # node-gyp to build addons.
70 # See https://github.com/v8/v8/wiki/Untrusted-code-mitigations
79 # TODO(refack): make v8-perfetto happen
135 'cflags': [ '-g', '-O0' ],
138 'cflags': [ '-gxcoff' ],
139 'ldflags': [ '-Wl,-bbigtoc' ],
142 'cflags': [ '-fPIC' ],
143 'ldflags': [ '-fPIC' ]
155 'LinkIncremental': 2, # enable incremental linking
159 'GCC_OPTIMIZATION_LEVEL': '0', # stop gyp from defaulting to -Os
165 'pgo_generate': ' -fprofile-generate ',
166 'pgo_use': ' -fprofile-use -fprofile-correction ',
174 'lto': ' -flto=4 -fuse-linker-plugin -ffat-lto-objects ', # GCC
176 'lto': ' -flto ', # Clang
180 'cflags': [ '-O3' ],
193 '-fuse-ld=gold',
194 '-ffunction-sections',
197 '-fuse-ld=gold',
198 '-Wl,--section-ordering-file=<(node_section_ordering_info)',
205 'ldflags': [ '-Wl,-z,allextract' ]
208 'cflags': [ '-fno-omit-frame-pointer' ],
223 'cflags': [ '-fPIC' ],
224 'ldflags': [ '-fPIC' ]
245 'GCC_OPTIMIZATION_LEVEL': '3', # stop gyp from defaulting to -Os
250 # Defines these mostly for node-gyp to pickup, and warn addon authors of
257 # Forcibly disable -Werror. We support a wide range of compilers, it's
262 'cflags!': ['-Werror'],
265 'cflags!': ['-Werror'],
301 # - "C4251: class needs to have dll-interface"
302 # - "C4275: non-DLL-interface used as base for DLL-interface"
306 # TODO: re-enable when Visual Studio fixes these upstream.
308 # - "C4267: conversion from 'size_t' to 'int'"
311 # - "C4244: conversion from 'type1' to 'type2', possible loss of data"
312 # Ususaly safe. Disable for `dep`, enable for `src`
331 '-fno-omit-frame-pointer',
332 '-fsanitize=address',
333 '-fsanitize-address-use-after-scope',
336 'cflags!': [ '-fomit-frame-pointer' ],
337 'ldflags': [ '-fsanitize=address' ],
342 '-fno-omit-frame-pointer',
343 '-gline-tables-only',
344 '-fsanitize=address',
345 '-DLEAK_SANITIZER'
348 '-fomit-frame-pointer',
353 'xcode_settings': {'OTHER_LDFLAGS': ['-fsanitize=address']},
379 'cflags': [ '-pthread' ],
380 'ldflags': [ '-pthread' ],
383 'cflags': [ '-Wall', '-Wextra', '-Wno-unused-parameter', ],
384 'cflags_cc': [ '-fno-rtti', '-fno-exceptions', '-std=gnu++1y' ],
386 'ldflags': [ '-rdynamic' ],
393 'cflags': [ '-I/usr/local/include' ],
394 'ldflags': [ '-Wl,-z,wxneeded' ],
399 'cflags': [ '-m32' ],
400 'ldflags': [ '-m32' ],
403 'cflags': [ '-mx32' ],
404 'ldflags': [ '-mx32' ],
407 'cflags': [ '-m64' ],
408 'ldflags': [ '-m64' ],
411 'cflags': [ '-m32' ],
412 'ldflags': [ '-m32' ],
415 'cflags': [ '-m64', '-mminimal-toc' ],
416 'ldflags': [ '-m64' ],
419 'cflags': [ '-m64', '-march=z196' ],
420 'ldflags': [ '-m64', '-march=z196' ],
423 'cflags': [ '-pthreads' ],
424 'ldflags': [ '-pthreads' ],
425 'cflags!': [ '-pthread' ],
426 'ldflags!': [ '-pthread' ],
429 'cflags': [ '-fPIC' ],
436 'aix_variant_name': '<!(uname -s)',
438 'cflags': [ '-maix64', ],
439 'ldflags!': [ '-rdynamic', ],
441 '-Wl,-bbigtoc',
442 '-maix64',
447 '-Wl,-blibpath:/QOpenSys/pkgs/lib:/QOpenSys/usr/lib',
448 '-Wl,-brtl',
454 # configuration; ignored [-Wattributes]
459 'cflags': [ '-Wno-attributes' ],
461 '-Wl,-blibpath:/usr/lib:/lib:/opt/freeware/lib/pthread/ppc64',
470 'libraries': [ '-llog' ],
473 'cflags': [ '-pthread' ],
474 'ldflags': [ '-pthread' ],
482 'GCC_CW_ASM_SYNTAX': 'NO', # No -fasm-blocks
483 'GCC_DYNAMIC_NO_PIC': 'NO', # No -mdynamic-no-pic
484 # (Equivalent to -fPIC)
485 'GCC_ENABLE_CPP_EXCEPTIONS': 'NO', # -fno-exceptions
486 'GCC_ENABLE_CPP_RTTI': 'NO', # -fno-rtti
487 'GCC_ENABLE_PASCAL_STRINGS': 'NO', # No -mpascal-strings
488 'PREBINDING': 'NO', # No -Wl,-prebind
489 'MACOSX_DEPLOYMENT_TARGET': '10.13', # -mmacosx-version-min=10.13
492 '-fno-strict-aliasing',
495 '-Wall',
496 '-Wendif-labels',
497 '-W',
498 '-Wno-unused-parameter',
505 '-Wl,-no_pie',
506 '-Wl,-search_paths_first',
522 '-Wl,-no_pie',
529 'CLANG_CXX_LANGUAGE_STANDARD': 'gnu++1y', # -std=gnu++1y
536 'libraries': [ '-lelf' ],
540 '-Wl,--export-dynamic',
544 # the openssl mechanism for keeping itself "dload"-ed to ensure proper