Skip to content
Snippets Groups Projects
Commit b14b99d8 authored by Florian Schmaus's avatar Florian Schmaus
Browse files

Intermediate Commit (2022-02-04 19:24)

parent 3b6bcd65
No related branches found
Tags
No related merge requests found
Pipeline #77101 failed
......@@ -264,7 +264,7 @@ static const enum ContinuationStealingMadviseStack CONTINUATION_STEALING_MADVISE
ContinuationStealingMadviseStack::EMPER_CONTINUATION_STEALING_MADVISE_STACK;
static const bool BUILD_WITH_CLANG =
#ifdef __clang__
#ifdef EMPER_BUILD_WITH_CLANG
true
#else
false
......
......@@ -46,9 +46,11 @@ cpp_compiler = meson.get_compiler('cpp')
if cpp_compiler.has_header('compare')
conf_data.set('EMPER_HAS_COMPARE_H', true)
endif
if cpp_compiler.get_id() == 'clang'
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')
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment