From ec4886917b5a4e4bdddfdbb5a85061ecb407e5ce Mon Sep 17 00:00:00 2001 From: Khem Raj Date: Mon, 4 Apr 2016 02:25:30 +0000 Subject: libcxx: Remove -ffreestanding from compiler flags we are targetting linux so its hosted Correct dual lincese logic Signed-off-by: Khem Raj --- recipes-devtools/clang/libcxx_git.bb | 4 ++-- 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 @@ DESCRIPTION = "libc++ is a new implementation of the C++ standard library, targeting C++11" HOMEPAGE = "http://libcxx.llvm.org/" -LICENSE = "MIT & NCSA" +LICENSE = "MIT | NCSA" SECTION = "base" INHIBIT_DEFAULT_DEPS = "1" @@ -30,7 +30,7 @@ SRCREV_FORMAT = "llvm_libcxx_libcxxabi" S = "${WORKDIR}/git/projects/libcxx" THUMB_TUNE_CCARGS = "" -TUNE_CCARGS += "-ffreestanding -nostdlib" +TUNE_CCARGS += "-nostdlib" EXTRA_OECMAKE += "-DLIBCXX_CXX_ABI=libcxxabi \ -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 @@ DESCRIPTION = "libunwind implements a stack unwinder, needed to perform C++ exception handling." HOMEPAGE = "http://llvm.org/" -LICENSE = "MIT & NSCA" +LICENSE = "MIT | NCSA" SECTION = "base" INHIBIT_DEFAULT_DEPS = "1" @@ -32,7 +32,7 @@ SRCREV_FORMAT = "llvm_libcxx_libcxxabi_libunwind" S = "${WORKDIR}/git/projects/libunwind" THUMB_TUNE_CCARGS = "" -TUNE_CCARGS += "-ffreestanding -nostdlib" +TUNE_CCARGS += "-nostdlib" EXTRA_OECMAKE += "-DLIBCXXABI_LIBCXX_PATH=${S}/../libcxxabi \ -DLLVM_PATH=${S}/../../ \ -- cgit v1.2.3-54-g00ecf