# --- T2-COPYRIGHT-NOTE-BEGIN --- # T2 SDE: package/*/libcxxabi/libcxxabi.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 " " "-DLIBCXXABI_USE_COMPILER_RT=YES -DLIBCXXABI_USE_LLVM_UNWINDER=1" var_append cmakeopt " " "-DLIBCXXABI_LIBCXX_INCLUDES=$root$includedir/c++/v1/" if atstage cross; then var_append GCC_WRAPPER_APPEND ' ' "-lc -nodefaultlibs" # includedir/c++/v1 not found automatically anymore? #var_append GCC_WRAPPER_APPEND ' ' "-I$root$includedir/c++/v1" : fi hook_add postmake 5 "install ../include/*.h $root$includedir/" # for libcxx [ "${libdir##*/lib}" ] && var_append cmakeopt " " "-DLLVM_LIBDIR_SUFFIX=${libdir##*/lib}" var_append cmakeopt " " "-DBUILD_SHARED_LIBS=ON"