|
|
@ -80,13 +80,7 @@ export TARGET=${TARGET_TRIPLE_MACHINE_CC}-linux-${TARGET_TRIPLE_OS}${ANDROID_PLA |
|
|
|
export FAM_CC=${TOOLCHAIN_PATH}/bin/${TARGET}-clang |
|
|
|
export FAM_CC=${TOOLCHAIN_PATH}/bin/${TARGET}-clang |
|
|
|
export FAM_CXX=${FAM_CC}++ |
|
|
|
export FAM_CXX=${FAM_CC}++ |
|
|
|
export FAM_LD=${FAM_CC} |
|
|
|
export FAM_LD=${FAM_CC} |
|
|
|
|
|
|
|
export FAM_AS=${FAM_CC} |
|
|
|
if [ $DESIRED_BINUTILS = "gnu" ] ; then |
|
|
|
|
|
|
|
export FAM_AS=${CROSS_PREFIX_WITH_PATH}as |
|
|
|
|
|
|
|
else |
|
|
|
|
|
|
|
# The llvm-as stucks in the beginning of FFmpeg's configure script, so use clang |
|
|
|
|
|
|
|
export FAM_AS=${FAM_CC} |
|
|
|
|
|
|
|
fi |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
# TODO consider abondaning this strategy of defining the name of the clang wrapper |
|
|
|
# TODO consider abondaning this strategy of defining the name of the clang wrapper |
|
|
|
# in favour of just passing -mstackrealign and -fno-addrsig depending on |
|
|
|
# in favour of just passing -mstackrealign and -fno-addrsig depending on |
|
|
|