ports/lang/libv8/patches/patch-build_common_gypi

23 lines
684 B
Text
Raw Normal View History

2023-08-16 22:26:55 +00:00
Index: build/common.gypi
--- build/common.gypi.orig
+++ build/common.gypi
@@ -100,7 +100,7 @@
'v8_use_snapshot%': 'true',
'host_os%': '<(OS)',
- 'werror%': '-Werror',
+ 'werror%': '',
# With post mortem support enabled, metadata is embedded into libv8 that
# describes various parameters of the VM for use by debuggers. See
@@ -338,6 +338,9 @@
}],
['OS=="freebsd" or OS=="openbsd"', {
'cflags': [ '-I/usr/local/include' ],
+ 'libraries': [
+ '-L/usr/local/lib -lexecinfo',
+ ]
}],
['OS=="netbsd"', {
'cflags': [ '-I/usr/pkg/include' ],