diff options
author | Zoltán Böszörményi <zboszor@pr.hu> | 2021-02-14 06:35:55 -0500 |
---|---|---|
committer | Khem Raj <raj.khem@gmail.com> | 2021-02-14 10:48:27 -0800 |
commit | 032e64faa11647d37f279f2229a1599b63f3025a (patch) | |
tree | c0c8f705cf34cd65dd4df105aad5276b26967cee /recipes-devtools/clang/libclc_git.bb | |
parent | fb9efbb0b6366620a16bd7ddacb7d027e938c506 (diff) | |
download | meta-clang-032e64faa11647d37f279f2229a1599b63f3025a.tar.gz |
libclc: Don't override cmake specific compiler and linker options
Signed-off-by: Zoltán Böszörményi <zboszor@pr.hu>
Diffstat (limited to 'recipes-devtools/clang/libclc_git.bb')
-rw-r--r-- | recipes-devtools/clang/libclc_git.bb | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/recipes-devtools/clang/libclc_git.bb b/recipes-devtools/clang/libclc_git.bb index aeedcf8..6ce98d4 100644 --- a/recipes-devtools/clang/libclc_git.bb +++ b/recipes-devtools/clang/libclc_git.bb | |||
@@ -15,11 +15,10 @@ DEPENDS_append = " qemu-native clang" | |||
15 | 15 | ||
16 | OECMAKE_SOURCEPATH = "${S}/libclc" | 16 | OECMAKE_SOURCEPATH = "${S}/libclc" |
17 | 17 | ||
18 | CXXFLAGS += "-std=c++17" | ||
19 | |||
18 | EXTRA_OECMAKE += " \ | 20 | EXTRA_OECMAKE += " \ |
19 | -DCMAKE_CROSSCOMPILING_EMULATOR=${WORKDIR}/qemuwrapper \ | 21 | -DCMAKE_CROSSCOMPILING_EMULATOR=${WORKDIR}/qemuwrapper \ |
20 | -DCMAKE_CXX_FLAGS=-std=c++17 \ | ||
21 | -DCMAKE_SHARED_LINKER_FLAGS=-std=c++17 \ | ||
22 | -DCMAKE_EXE_LINKER_FLAGS=-std=c++17 \ | ||
23 | -Dclc_comp_in:FILEPATH=${OECMAKE_SOURCEPATH}/cmake/CMakeCLCCompiler.cmake.in \ | 22 | -Dclc_comp_in:FILEPATH=${OECMAKE_SOURCEPATH}/cmake/CMakeCLCCompiler.cmake.in \ |
24 | -Dll_comp_in:FILEPATH=${OECMAKE_SOURCEPATH}/cmake/CMakeLLAsmCompiler.cmake.in \ | 23 | -Dll_comp_in:FILEPATH=${OECMAKE_SOURCEPATH}/cmake/CMakeLLAsmCompiler.cmake.in \ |
25 | " | 24 | " |