diff options
author | Khem Raj <raj.khem@gmail.com> | 2016-04-04 02:25:30 +0000 |
---|---|---|
committer | Khem Raj <raj.khem@gmail.com> | 2016-04-04 02:25:30 +0000 |
commit | ec4886917b5a4e4bdddfdbb5a85061ecb407e5ce (patch) | |
tree | a673676a364eac14e73afb61b932a0fe433a1025 | |
parent | 1cac07eb0657e88da2bb9e7ff026bdbee6556929 (diff) | |
download | meta-clang-ec4886917b5a4e4bdddfdbb5a85061ecb407e5ce.tar.gz |
libcxx: Remove -ffreestanding from compiler flags
we are targetting linux so its hosted
Correct dual lincese logic
Signed-off-by: Khem Raj <raj.khem@gmail.com>
-rw-r--r-- | recipes-devtools/clang/libcxx_git.bb | 4 | ||||
-rw-r--r-- | recipes-devtools/clang/llvm-libunwind_git.bb | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/recipes-devtools/clang/libcxx_git.bb b/recipes-devtools/clang/libcxx_git.bb index b00cb53..c7b6ad9 100644 --- a/recipes-devtools/clang/libcxx_git.bb +++ b/recipes-devtools/clang/libcxx_git.bb | |||
@@ -3,7 +3,7 @@ | |||
3 | 3 | ||
4 | DESCRIPTION = "libc++ is a new implementation of the C++ standard library, targeting C++11" | 4 | DESCRIPTION = "libc++ is a new implementation of the C++ standard library, targeting C++11" |
5 | HOMEPAGE = "http://libcxx.llvm.org/" | 5 | HOMEPAGE = "http://libcxx.llvm.org/" |
6 | LICENSE = "MIT & NCSA" | 6 | LICENSE = "MIT | NCSA" |
7 | SECTION = "base" | 7 | SECTION = "base" |
8 | INHIBIT_DEFAULT_DEPS = "1" | 8 | INHIBIT_DEFAULT_DEPS = "1" |
9 | 9 | ||
@@ -30,7 +30,7 @@ SRCREV_FORMAT = "llvm_libcxx_libcxxabi" | |||
30 | S = "${WORKDIR}/git/projects/libcxx" | 30 | S = "${WORKDIR}/git/projects/libcxx" |
31 | 31 | ||
32 | THUMB_TUNE_CCARGS = "" | 32 | THUMB_TUNE_CCARGS = "" |
33 | TUNE_CCARGS += "-ffreestanding -nostdlib" | 33 | TUNE_CCARGS += "-nostdlib" |
34 | 34 | ||
35 | EXTRA_OECMAKE += "-DLIBCXX_CXX_ABI=libcxxabi \ | 35 | EXTRA_OECMAKE += "-DLIBCXX_CXX_ABI=libcxxabi \ |
36 | -DLIBCXX_CXX_ABI_INCLUDE_PATHS=${S}/../libcxxabi/include \ | 36 | -DLIBCXX_CXX_ABI_INCLUDE_PATHS=${S}/../libcxxabi/include \ |
diff --git a/recipes-devtools/clang/llvm-libunwind_git.bb b/recipes-devtools/clang/llvm-libunwind_git.bb index b2848eb..a32ccd0 100644 --- a/recipes-devtools/clang/llvm-libunwind_git.bb +++ b/recipes-devtools/clang/llvm-libunwind_git.bb | |||
@@ -3,7 +3,7 @@ | |||
3 | 3 | ||
4 | DESCRIPTION = "libunwind implements a stack unwinder, needed to perform C++ exception handling." | 4 | DESCRIPTION = "libunwind implements a stack unwinder, needed to perform C++ exception handling." |
5 | HOMEPAGE = "http://llvm.org/" | 5 | HOMEPAGE = "http://llvm.org/" |
6 | LICENSE = "MIT & NSCA" | 6 | LICENSE = "MIT | NCSA" |
7 | SECTION = "base" | 7 | SECTION = "base" |
8 | INHIBIT_DEFAULT_DEPS = "1" | 8 | INHIBIT_DEFAULT_DEPS = "1" |
9 | 9 | ||
@@ -32,7 +32,7 @@ SRCREV_FORMAT = "llvm_libcxx_libcxxabi_libunwind" | |||
32 | S = "${WORKDIR}/git/projects/libunwind" | 32 | S = "${WORKDIR}/git/projects/libunwind" |
33 | 33 | ||
34 | THUMB_TUNE_CCARGS = "" | 34 | THUMB_TUNE_CCARGS = "" |
35 | TUNE_CCARGS += "-ffreestanding -nostdlib" | 35 | TUNE_CCARGS += "-nostdlib" |
36 | 36 | ||
37 | EXTRA_OECMAKE += "-DLIBCXXABI_LIBCXX_PATH=${S}/../libcxxabi \ | 37 | EXTRA_OECMAKE += "-DLIBCXXABI_LIBCXX_PATH=${S}/../libcxxabi \ |
38 | -DLLVM_PATH=${S}/../../ \ | 38 | -DLLVM_PATH=${S}/../../ \ |