summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKhem Raj <raj.khem@gmail.com>2016-04-04 02:25:30 +0000
committerKhem Raj <raj.khem@gmail.com>2016-04-04 02:25:30 +0000
commitec4886917b5a4e4bdddfdbb5a85061ecb407e5ce (patch)
treea673676a364eac14e73afb61b932a0fe433a1025
parent1cac07eb0657e88da2bb9e7ff026bdbee6556929 (diff)
downloadmeta-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.bb4
-rw-r--r--recipes-devtools/clang/llvm-libunwind_git.bb4
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
4DESCRIPTION = "libc++ is a new implementation of the C++ standard library, targeting C++11" 4DESCRIPTION = "libc++ is a new implementation of the C++ standard library, targeting C++11"
5HOMEPAGE = "http://libcxx.llvm.org/" 5HOMEPAGE = "http://libcxx.llvm.org/"
6LICENSE = "MIT & NCSA" 6LICENSE = "MIT | NCSA"
7SECTION = "base" 7SECTION = "base"
8INHIBIT_DEFAULT_DEPS = "1" 8INHIBIT_DEFAULT_DEPS = "1"
9 9
@@ -30,7 +30,7 @@ SRCREV_FORMAT = "llvm_libcxx_libcxxabi"
30S = "${WORKDIR}/git/projects/libcxx" 30S = "${WORKDIR}/git/projects/libcxx"
31 31
32THUMB_TUNE_CCARGS = "" 32THUMB_TUNE_CCARGS = ""
33TUNE_CCARGS += "-ffreestanding -nostdlib" 33TUNE_CCARGS += "-nostdlib"
34 34
35EXTRA_OECMAKE += "-DLIBCXX_CXX_ABI=libcxxabi \ 35EXTRA_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
4DESCRIPTION = "libunwind implements a stack unwinder, needed to perform C++ exception handling." 4DESCRIPTION = "libunwind implements a stack unwinder, needed to perform C++ exception handling."
5HOMEPAGE = "http://llvm.org/" 5HOMEPAGE = "http://llvm.org/"
6LICENSE = "MIT & NSCA" 6LICENSE = "MIT | NCSA"
7SECTION = "base" 7SECTION = "base"
8INHIBIT_DEFAULT_DEPS = "1" 8INHIBIT_DEFAULT_DEPS = "1"
9 9
@@ -32,7 +32,7 @@ SRCREV_FORMAT = "llvm_libcxx_libcxxabi_libunwind"
32S = "${WORKDIR}/git/projects/libunwind" 32S = "${WORKDIR}/git/projects/libunwind"
33 33
34THUMB_TUNE_CCARGS = "" 34THUMB_TUNE_CCARGS = ""
35TUNE_CCARGS += "-ffreestanding -nostdlib" 35TUNE_CCARGS += "-nostdlib"
36 36
37EXTRA_OECMAKE += "-DLIBCXXABI_LIBCXX_PATH=${S}/../libcxxabi \ 37EXTRA_OECMAKE += "-DLIBCXXABI_LIBCXX_PATH=${S}/../libcxxabi \
38 -DLLVM_PATH=${S}/../../ \ 38 -DLLVM_PATH=${S}/../../ \