# --- T2-COPYRIGHT-NOTE-BEGIN --- # T2 SDE: package/*/spirv-llvm-translator/spirv-llvm-translator.conf # Copyright (C) 2024 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 --- if atstage cross; then # translate native llvm-config libraries to sysroot var_append GCC_WRAPPER_FILTER '|' "sed 's,$root/TOOLCHAIN.*libLLVM\(.*\)\.[as].*,-lLLVM\1,'" # remove native llvm-config include var_append GCC_WRAPPER_REMOVE ' ' "-I$root/TOOLCHAIN/cross/include" var_append GCC_WRAPPER_REMOVE ' ' "-isystem$root/TOOLCHAIN/cross/include" var_append GCC_WRAPPER_REMOVE ' ' "-L$root/TOOLCHAIN/cross/lib" fi