From 0f45ab7a5008bd5e68201449bd1e0a999f999457 Mon Sep 17 00:00:00 2001 From: Frank Busse Date: Wed, 15 Dec 2021 16:38:21 +0000 Subject: remove LLVM < 6 from build/test scripts --- runtime/CMakeLists.txt | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) (limited to 'runtime') diff --git a/runtime/CMakeLists.txt b/runtime/CMakeLists.txt index 6ee6f830..5747672c 100644 --- a/runtime/CMakeLists.txt +++ b/runtime/CMakeLists.txt @@ -79,12 +79,10 @@ set(COMMON_CC_FLAGS -D__STDC_CONSTANT_MACROS -Wall -Wwrite-strings + -Xclang + -disable-O0-optnone ) -if (${LLVM_VERSION_MAJOR} GREATER 4) - list(APPEND COMMON_CC_FLAGS "-Xclang" "-disable-O0-optnone") -endif () - foreach (_suffix ${LIB_BC_SUFFIX}) list(APPEND "LIB_BC_FLAGS_${_suffix}" ${COMMON_CC_FLAGS}) endforeach () -- cgit 1.4.1