|
|
|
@ -65,6 +65,7 @@ export CROSS_PREFIX_WITH_PATH=${TOOLCHAIN_PATH}/bin/${CROSS_PREFIX} |
|
|
|
|
# Exporting Binutils paths, if passing just CROSS_PREFIX_WITH_PATH is not enough |
|
|
|
|
# The FAM_ prefix is used to eliminate passing those values implicitly to build systems |
|
|
|
|
export FAM_ADDR2LINE=${CROSS_PREFIX_WITH_PATH}addr2line |
|
|
|
|
export FAM_AS=${CROSS_PREFIX_WITH_PATH}as |
|
|
|
|
export FAM_AR=${CROSS_PREFIX_WITH_PATH}ar |
|
|
|
|
export FAM_NM=${CROSS_PREFIX_WITH_PATH}nm |
|
|
|
|
export FAM_OBJCOPY=${CROSS_PREFIX_WITH_PATH}objcopy |
|
|
|
@ -80,7 +81,6 @@ export TARGET=${TARGET_TRIPLE_MACHINE_CC}-linux-${TARGET_TRIPLE_OS}${ANDROID_PLA |
|
|
|
|
export FAM_CC=${TOOLCHAIN_PATH}/bin/${TARGET}-clang |
|
|
|
|
export FAM_CXX=${FAM_CC}++ |
|
|
|
|
export FAM_LD=${FAM_CC} |
|
|
|
|
export FAM_AS=${FAM_CC} |
|
|
|
|
|
|
|
|
|
# TODO consider abondaning this strategy of defining the name of the clang wrapper |
|
|
|
|
# in favour of just passing -mstackrealign and -fno-addrsig depending on |
|
|
|
|