From d5a360e8e02d60bbe5bf993341593a479e708a8a Mon Sep 17 00:00:00 2001 From: Johnny Willemsen Date: Wed, 24 Apr 2024 08:25:29 +0200 Subject: [PATCH] Update ACE/include/makeinclude/platform_linux_clang.GNU Co-authored-by: Fred Hornsey --- ACE/include/makeinclude/platform_linux_clang.GNU | 12 +++--------- 1 file changed, 3 insertions(+), 9 deletions(-) diff --git a/ACE/include/makeinclude/platform_linux_clang.GNU b/ACE/include/makeinclude/platform_linux_clang.GNU index c810f90f95eb7..2f251d0858675 100644 --- a/ACE/include/makeinclude/platform_linux_clang.GNU +++ b/ACE/include/makeinclude/platform_linux_clang.GNU @@ -43,17 +43,11 @@ endif ifneq ($(c++std),) CCFLAGS += -std=$(c++std) -endif - -ifeq ($(c++20),1) +else ifeq ($(c++20),1) CCFLAGS += -std=c++20 -endif - -ifeq ($(c++17),1) +else ifeq ($(c++17),1) CCFLAGS += -std=c++17 -endif - -ifeq ($(c++14),1) +else ifeq ($(c++14),1) CCFLAGS += -std=c++14 endif