* imported qemu/hotfix-glibc-2.41.patch
[t2sde.git] / package / develop / libcxxabi / libcxxabi.conf
blobbc0792c0864329fd5e3e815214973702c47e9f65
1 # --- T2-COPYRIGHT-NOTE-BEGIN ---
2 # T2 SDE: package/*/libcxxabi/libcxxabi.conf
3 # Copyright (C) 2009 - 2022 The T2 SDE Project
4
5 # This Copyright note is generated by scripts/Create-CopyPatch,
6 # more information can be found in the files COPYING and README.
7
8 # This program is free software; you can redistribute it and/or modify
9 # it under the terms of the GNU General Public License version 2.
10 # --- T2-COPYRIGHT-NOTE-END ---
12 var_append cmakeopt " " "-DLIBCXXABI_USE_COMPILER_RT=YES -DLIBCXXABI_USE_LLVM_UNWINDER=1"
13 var_append cmakeopt " " "-DLIBCXXABI_LIBCXX_INCLUDES=$root$includedir/c++/v1/"
15 if atstage cross; then
16         var_append GCC_WRAPPER_APPEND ' ' "-lc -nodefaultlibs"
17         # includedir/c++/v1 not found automatically anymore?
18         #var_append GCC_WRAPPER_APPEND ' ' "-I$root$includedir/c++/v1"
19         :
22 hook_add postmake 5 "install ../include/*.h $root$includedir/" # for libcxx
24 [ "${libdir##*/lib}" ] && var_append cmakeopt " " "-DLLVM_LIBDIR_SUFFIX=${libdir##*/lib}"
25 var_append cmakeopt " " "-DBUILD_SHARED_LIBS=ON"