# --- T2-COPYRIGHT-NOTE-BEGIN --- # T2 SDE: package/*/libcxx/libcxx.conf # Copyright (C) 2009 - 2022 The T2 SDE Project # # This Copyright note is generated by scripts/Create-CopyPatch, # more information can be found in the files COPYING and README. # # This program is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License version 2. # --- T2-COPYRIGHT-NOTE-END --- var_append cmakeopt " " "-DLIBCXX_USE_COMPILER_RT=YES" var_append cmakeopt " " "-DLIBCXX_HAS_MUSL_LIBC=ON" if atstage cross; then var_append GCC_WRAPPER_APPEND ' ' '-nodefaultlibs -lc' # only for stage 0 bootstrap #var_append cmakeopt ' ' "-DLIBCXX_CXX_ABI=libcxxabi -DLIBCXX_CXX_ABI_INCLUDE_PATHS=$root$includedir/" fi [ "${libdir##*/lib}" ] && var_append cmakeopt " " "-DLLVM_LIBDIR_SUFFIX=${libdir##*/lib}" var_append cmakeopt " " "-DBUILD_SHARED_LIBS=ON"