mirror of
https://github.com/openbsd/ports.git
synced 2026-06-17 23:13:55 +02:00
lang/node
* build with USE_NOBTCFI * include nobtcfi in common.gypi's ldflags feedback and ok sthen@
This commit is contained in:
+2
-1
@@ -2,6 +2,7 @@ ONLY_FOR_ARCHS = amd64 aarch64 i386 powerpc64 riscv64
|
||||
DPB_PROPERTIES = parallel
|
||||
|
||||
USE_WXNEEDED = Yes
|
||||
USE_NOBTCFI = Yes
|
||||
|
||||
COMMENT = JavaScript runtime built on Chrome's V8 JavaScript engine
|
||||
|
||||
@@ -13,7 +14,7 @@ DISTFILES = node-pledge-{}${PLEDGE_VER}.tar.gz:0 \
|
||||
|
||||
DISTNAME = node-${NODE_VERSION}
|
||||
PKGNAME = ${DISTNAME:S/v//g}
|
||||
|
||||
REVISION = 0
|
||||
EPOCH = 0
|
||||
|
||||
MASTER_SITES0 = https://github.com/qbit/node-pledge/archive/
|
||||
|
||||
@@ -9,18 +9,19 @@ Index: common.gypi
|
||||
'conditions': [
|
||||
['enable_lto=="true"', {
|
||||
'cflags': ['<(lto)'],
|
||||
@@ -409,7 +408,9 @@
|
||||
@@ -409,7 +408,10 @@
|
||||
}],
|
||||
['OS=="openbsd"', {
|
||||
'cflags': [ '-I/usr/local/include' ],
|
||||
- 'ldflags': [ '-Wl,-z,wxneeded' ],
|
||||
+ 'ldflags': [ '-Wl,-z,wxneeded'
|
||||
+ , '-Wl,-z,nobtcfi'
|
||||
+ , '-Wl,-rpath,${EOPENSSL_LIB}'
|
||||
+ ],
|
||||
}],
|
||||
],
|
||||
'conditions': [
|
||||
@@ -426,7 +427,7 @@
|
||||
@@ -426,7 +428,7 @@
|
||||
'ldflags': [ '-m32' ],
|
||||
}],
|
||||
[ 'target_arch=="ppc64" and OS not in "aix os400"', {
|
||||
|
||||
Reference in New Issue
Block a user