Skip to content

Commit d1614ab

Browse files
nodejs-16.yaml: Add openssf-options
1 parent 793b6ad commit d1614ab

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

nodejs-16.yaml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
package:
22
name: nodejs-16
33
version: 16.20.2
4-
epoch: 6
4+
epoch: 7
55
description: "JavaScript runtime built on V8 engine"
66
dependencies:
77
provides:
@@ -25,6 +25,7 @@ environment:
2525
- libuv-dev
2626
- linux-headers
2727
- nghttp2-dev
28+
- openssf-compiler-options
2829
- openssl-dev
2930
- py3-jinja2
3031
- py3-setuptools
@@ -45,6 +46,9 @@ pipeline:
4546
# Add defines recommended in libuv readme.
4647
common_flags="-D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64"
4748
49+
# Fix the standard to work with newer code
50+
sed s/gnu++14/gnu++17/g -i ./common.gypi
51+
4852
# Compiling with O2 instead of Os increases binary size by ~10%
4953
# (53.1 MiB -> 58.6 MiB), but also increases performance by ~20%
5054
# according to v8/web-tooling-benchmark. Node.js is quite huge anyway;

0 commit comments

Comments
 (0)