move to C++23 for that sweet std::println

This commit is contained in:
2026-03-08 18:22:15 +01:00
parent 31b11028b8
commit bf61965f61
3 changed files with 189 additions and 154 deletions

View File

@@ -17,7 +17,7 @@ if command -v pkg-config >/dev/null; then
LIBELF_FLAGS=$(pkg-config --cflags --libs libelf 2>/dev/null)
if [ $? -eq 0 ]; then
echo "building riscv64..."
c++ -std=c++20 $COMMON -o riscv64 riscv64.cc $LIBELF_FLAGS
c++ -std=c++23 $COMMON -o riscv64 riscv64.cc $LIBELF_FLAGS
else
echo "libelf not found - skipping riscv64..."
fi