diff options
author | Android Build Coastguard Worker <android-build-coastguard-worker@google.com> | 2022-08-04 00:42:59 +0000 |
---|---|---|
committer | Android Build Coastguard Worker <android-build-coastguard-worker@google.com> | 2022-08-04 00:42:59 +0000 |
commit | 999e923272bc2cedab2abcd9206e449b91635e3e (patch) | |
tree | 3471e7b6254d8b73273f99088b927b1bba9529b2 | |
parent | e820536b374a70587c666a1ac3349e8e427ec555 (diff) | |
parent | 027f7afa228990e5f5c3c31833697a6f64e990fa (diff) | |
download | m4-build-tools-release.tar.gz |
Snap for 8904083 from 027f7afa228990e5f5c3c31833697a6f64e990fa to build-tools-releasebuild-tools-release
Change-Id: I5de3b7394b8d33f7884ebbd97889887541f7a864
-rw-r--r-- | soong/linux_glibc/config.h | 2 | ||||
-rw-r--r-- | soong/linux_musl/config.h | 2 | ||||
-rwxr-xr-x | soong/regen.sh | 4 |
3 files changed, 3 insertions, 5 deletions
diff --git a/soong/linux_glibc/config.h b/soong/linux_glibc/config.h index 69dab55..801edec 100644 --- a/soong/linux_glibc/config.h +++ b/soong/linux_glibc/config.h @@ -9,7 +9,7 @@ /* #undef __x86_64_x32__ */ #endif #ifndef __x86_64__ -#define __x86_64__ 1 +/* compiler-set */ #endif #ifndef __alpha__ /* #undef __alpha__ */ diff --git a/soong/linux_musl/config.h b/soong/linux_musl/config.h index 01cdf3e..1ffa920 100644 --- a/soong/linux_musl/config.h +++ b/soong/linux_musl/config.h @@ -9,7 +9,7 @@ /* #undef __x86_64_x32__ */ #endif #ifndef __x86_64__ -#define __x86_64__ 1 +/* compiler-set */ #endif #ifndef __alpha__ /* #undef __alpha__ */ diff --git a/soong/regen.sh b/soong/regen.sh index 77089d7..d15072e 100755 --- a/soong/regen.sh +++ b/soong/regen.sh @@ -94,9 +94,7 @@ cc_defaults { END ${ANDROID_BUILD_TOP}/prebuilts/build-tools/$UNAME-x86/bin/bpfmt -w ../Android.bp -if [ $DIR = "darwin" ]; then - sed -ibak 's%#define __x86_64__ 1%/* compiler-set */%' lib/config.h -fi +sed -ibak 's%#define __x86_64__ 1%/* compiler-set */%' lib/config.h cd lib find . -name '*.h' | xargs -IX cp X ../../X |