From 5d3768b5a237db1c8e24f42f3c2b6fad01edbf11 Mon Sep 17 00:00:00 2001 From: Samuel Hym Date: Mon, 12 Dec 2022 12:00:51 +0100 Subject: [PATCH] Allow explicit fallback to bytecode for cpp Relax the requirements for the cpp preprocessor, to fall back on the bytecode version when the native version is not available. Otherwise the build fails on bytecode-only architectures. --- src/core/cpp/dune | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/core/cpp/dune b/src/core/cpp/dune index 674e2093..fcb009f1 100644 --- a/src/core/cpp/dune +++ b/src/core/cpp/dune @@ -3,5 +3,5 @@ (executable (name cpp) (flags :standard -warn-error -a+8) - (modes native) + (modes (best exe)) (libraries dune.configurator))