98cc1d7b97
Also, start depending on the libgcc package for the libgcc.a runtime library taken from the NDK instead of trying to build it ourselves.
23 lines
937 B
Diff
23 lines
937 B
Diff
diff -u -r ../gcc-5.3.0/gcc/config.gcc ./gcc/config.gcc
|
|
--- ../gcc-5.3.0/gcc/config.gcc 2015-09-10 10:17:53.000000000 -0400
|
|
+++ ./gcc/config.gcc 2016-03-19 21:07:44.888339715 -0400
|
|
@@ -910,13 +910,17 @@
|
|
TM_MULTILIB_CONFIG=`echo $TM_MULTILIB_CONFIG | sed 's/^,//'`
|
|
;;
|
|
aarch64*-*-linux*)
|
|
- tm_file="${tm_file} dbxelf.h elfos.h gnu-user.h linux.h glibc-stdint.h"
|
|
+ tm_file="${tm_file} dbxelf.h elfos.h gnu-user.h linux.h linux-android.h glibc-stdint.h"
|
|
tm_file="${tm_file} aarch64/aarch64-elf.h aarch64/aarch64-linux.h"
|
|
+ extra_options="${extra_options} linux-android.opt"
|
|
tmake_file="${tmake_file} aarch64/t-aarch64 aarch64/t-aarch64-linux"
|
|
case $target in
|
|
aarch64_be-*)
|
|
tm_defines="${tm_defines} TARGET_BIG_ENDIAN_DEFAULT=1"
|
|
;;
|
|
+ aarch64*-*-linux-android*)
|
|
+ tm_file="${tm_file} aarch64/aarch64-linux-android.h"
|
|
+ ;;
|
|
esac
|
|
aarch64_multilibs="${with_multilib_list}"
|
|
if test "$aarch64_multilibs" = "default"; then
|