From ea0b05c32bfc78538d821f8738927b1d10ea3f4d Mon Sep 17 00:00:00 2001 From: Dirk Zimoch Date: Tue, 7 Jun 2022 11:16:29 +0200 Subject: [PATCH] use highest supported C++ standard for RHEL8 --- configure/os/CONFIG.Common.RHEL8-x86_64 | 3 +++ configure/os/CONFIG.Common.RHEL8-x86_64-clang | 2 ++ 2 files changed, 5 insertions(+) diff --git a/configure/os/CONFIG.Common.RHEL8-x86_64 b/configure/os/CONFIG.Common.RHEL8-x86_64 index 757bcb323..a4ac7c32f 100644 --- a/configure/os/CONFIG.Common.RHEL8-x86_64 +++ b/configure/os/CONFIG.Common.RHEL8-x86_64 @@ -1,2 +1,5 @@ # Include definitions common to linux pentium targets include $(CONFIG)/os/CONFIG.Common.linux-x86_64 + +# highest c++ standard that is compiler can do +STD_CXXFLAGS = -std=c++2a diff --git a/configure/os/CONFIG.Common.RHEL8-x86_64-clang b/configure/os/CONFIG.Common.RHEL8-x86_64-clang index fa50b4f9c..b93ce65ff 100644 --- a/configure/os/CONFIG.Common.RHEL8-x86_64-clang +++ b/configure/os/CONFIG.Common.RHEL8-x86_64-clang @@ -1 +1,3 @@ include $(CONFIG)/os/CONFIG.Common.linux-clang + +STD_CXXFLAGS = -std=c++2a