tectonic/0001-build-set-c-standard-to-c-17.patch

27 lines
764 B
Diff

From 55252b6d5e3ac14b8c990a0d56ec2c827bca37e6 Mon Sep 17 00:00:00 2001
From: Soc Virnyl Estela <contact@uncomfyhalomacro.pl>
Date: Tue, 28 May 2024 12:02:54 +0800
Subject: [PATCH 1/2] build: set c standard to c++17
Signed-off-by: Soc Virnyl Estela <contact@uncomfyhalomacro.pl>
---
crates/xetex_layout/build.rs | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/crates/xetex_layout/build.rs b/crates/xetex_layout/build.rs
index bdd0d03f..558fd29e 100644
--- a/crates/xetex_layout/build.rs
+++ b/crates/xetex_layout/build.rs
@@ -86,7 +86,7 @@ fn main() {
let mut cppcfg = cc::Build::new();
let cppflags = [
- "-std=c++14",
+ "-std=c++17",
"-Wall",
"-Wdate-time",
"-Wendif-labels",
--
2.45.1