From cabafec58d9852f4bea101f344e97e97dede78f7 Mon Sep 17 00:00:00 2001 From: Ayaz Salikhov Date: Tue, 30 Jun 2026 23:42:40 +0100 Subject: [PATCH] build: Don't reuse binaries between different C++ versions --- conan/profiles/default | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/conan/profiles/default b/conan/profiles/default index e0a88ebca1..f63ef6a813 100644 --- a/conan/profiles/default +++ b/conan/profiles/default @@ -20,6 +20,4 @@ compiler.libcxx={{detect_api.detect_libcxx(compiler, version, compiler_exe)}} {% endif %} [conf] -{% if compiler == "gcc" and compiler_version < 13 %} -tools.build:cxxflags+=['-Wno-restrict'] -{% endif %} +tools.info.package_id:confs+=["compiler.cppstd"]