mirror of
https://github.com/crosstool-ng/crosstool-ng.git
synced 2025-06-16 06:18:17 +00:00
Avoid adding arch/cpu/tune flags for target to GCC build
... as it may need to override them for building runtime-selectable code. Signed-off-by: Alexey Neyman <stilor@att.net>
This commit is contained in:
@ -26,7 +26,7 @@ do_libc() {
|
||||
fi
|
||||
CT_DoStep INFO "Installing C library binaries"
|
||||
CT_DoExecLog ALL cp -r "${CT_SRC_DIR}/android-ndk/platforms/android-${CT_ANDROID_API}/arch-${arch}/usr" "${CT_SYSROOT_DIR}"
|
||||
CT_EnvModify CT_TARGET_CFLAGS "${CT_TARGET_CFLAGS} -D__ANDROID_API__=${CT_ANDROID_API}"
|
||||
CT_EnvModify CT_ALL_TARGET_CFLAGS "${CT_ALL_TARGET_CFLAGS} -D__ANDROID_API__=${CT_ANDROID_API}"
|
||||
}
|
||||
|
||||
do_libc_post_cc() {
|
||||
|
Reference in New Issue
Block a user