Skip to content

Commit ade0121

Browse files
authored
fix: update to gcc-12
gcc-12 is the minimum supported compiler version since Node.js 23. Refs: nodejs/node#54338
1 parent 7ca9d51 commit ade0121

1 file changed

Lines changed: 5 additions & 5 deletions

File tree

snapcraft.yaml.sh

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -83,13 +83,13 @@ parts:
8383
build-packages:
8484
# Ensure these and the build environment below match the minimum GCC and G++ versions for this Node release.
8585
# https://github.com/nodejs/node/blob/main/BUILDING.md#building-nodejs-on-supported-platforms
86-
- gcc-10
87-
- g++-10
86+
- gcc-12
87+
- g++-12
8888
- python3-distutils
8989
build-environment:
90-
- CC: gcc-10
91-
- CXX: g++-10
92-
- LINK: g++-10
90+
- CC: gcc-12
91+
- CXX: g++-12
92+
- LINK: g++-12
9393
- V: ""
9494
make-parameters:
9595
- V=

0 commit comments

Comments
 (0)