* updated yet more dir-less .cache DEPs
[t2sde.git] / package / develop / libcxx / libcxx.conf
blob771364fbff2f726e67036d39be8d4284e1b08cda
1 # --- T2-COPYRIGHT-NOTE-BEGIN ---
2 # T2 SDE: package/*/libcxx/libcxx.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 " " "-DLIBCXX_USE_COMPILER_RT=YES"
13 var_append cmakeopt " " "-DLIBCXX_HAS_MUSL_LIBC=ON"
15 if atstage cross; then
16         var_append GCC_WRAPPER_APPEND ' ' '-nodefaultlibs -lc' # only for stage 0 bootstrap
17         #var_append cmakeopt ' ' "-DLIBCXX_CXX_ABI=libcxxabi -DLIBCXX_CXX_ABI_INCLUDE_PATHS=$root$includedir/"
20 [ "${libdir##*/lib}" ] && var_append cmakeopt " " "-DLLVM_LIBDIR_SUFFIX=${libdir##*/lib}"
21 var_append cmakeopt " " "-DBUILD_SHARED_LIBS=ON"