From e3d9b9db778520d83f40b4f3fa93db4787003e12 Mon Sep 17 00:00:00 2001
From: Florian Schmaus <flow@cs.fau.de>
Date: Fri, 4 Feb 2022 20:17:26 +0100
Subject: [PATCH] Intermediate Commit (2022-02-04 20:17)

---
 meson.build | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/meson.build b/meson.build
index a9a58266..6be8efa1 100644
--- a/meson.build
+++ b/meson.build
@@ -50,7 +50,6 @@ cpp_is_clang = cpp_compiler.get_id() == 'clang'
 if cpp_is_clang
   # Clang does not know "__attribute__((optimize(-no-omit-frame-pointer)))".
   add_project_arguments('-Wno-unknown-attributes', language: 'cpp')
-  conf_data.set('EMPER_BUILD_WITH_CLANG')
 endif
 
 continuation_stealing_mode = get_option('continuation_stealing_mode')
@@ -69,6 +68,7 @@ conf_data.set('EMPER_SET_AFFINITY_ON_BLOCK', get_option('set_affinity_on_block')
 conf_data.set('EMPER_IO_COMPLETER_SCHED_PARAM', get_option('io_completer_sched_param'))
 conf_data.set('EMPER_CONTINUATION_STEALING_MODE', continuation_stealing_mode)
 conf_data.set('EMPER_CONTINUATION_STEALING_MADVISE_STACK', get_option('continuation_stealing_madvise_stack'))
+conf_data.set('EMPER_BUILD_WITH_CLANG', cpp_is_clang)
 
 if continuation_stealing_mode == 'locked' and not locked_ws_queue
   error('*Locked* continuation stealing only works with locked work-stealing queues (locked_ws_queue=true)')
-- 
GitLab