Skip to content

Commit fccb69f

Browse files
authored
fix(CI): Force rebuild native with c++20 (#704)
1 parent 8c78ec3 commit fccb69f

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

scripts/rebuild-native.sh

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,9 @@ if [ "$FORCE_REBUILD" -eq 1 ]; then
2020
echo "🔁 Force rebuild enabled"
2121
fi
2222

23+
export CXXFLAGS="${CXXFLAGS} -std=c++20"
24+
export CPPFLAGS="${CPPFLAGS} -std=c++20"
25+
2326
# Check and rebuild better-sqlite3
2427
if [ -d node_modules/better-sqlite3 ] && \
2528
{ [ "$FORCE_REBUILD" -eq 1 ] || \

0 commit comments

Comments
 (0)