aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndroid Build Coastguard Worker <android-build-coastguard-worker@google.com>2022-02-04 17:46:36 +0000
committerAndroid Build Coastguard Worker <android-build-coastguard-worker@google.com>2022-02-04 17:46:36 +0000
commit2cefc321efdb0c9937c159b7af031ec13c5a2f7f (patch)
tree0e1138c654ce47595e9075027df94990d7e7b961
parent622b6e28af1e247c1adc1549c5b34b54e03f9341 (diff)
parent1d564b426399292021bf521360ef40451367a4ce (diff)
downloadbison-2cefc321efdb0c9937c159b7af031ec13c5a2f7f.tar.gz
Snap for 8147747 from 1d564b426399292021bf521360ef40451367a4ce to build-tools-release
Change-Id: Id9ba89a90855f7889b949ef702dfe6018b074449
-rw-r--r--Android.bp11
-rwxr-xr-xandroid_regen.sh2
2 files changed, 1 insertions, 12 deletions
diff --git a/Android.bp b/Android.bp
index c725956d..512d5906 100644
--- a/Android.bp
+++ b/Android.bp
@@ -28,17 +28,6 @@ cc_defaults {
"darwin-lib",
"lib",
],
-
- // This isn't being distributed to end-users, so bump up our machine
- // requirements.
- cflags: [
- "-mmacosx-version-min=10.13",
- "-UMACOSX_DEPLOYMENT_TARGET",
- "-DMACOSX_DEPLOYMENT_TARGET=10.13",
- ],
- ldflags: [
- "-mmacosx-version-min=10.13",
- ],
},
glibc: {
local_include_dirs: [
diff --git a/android_regen.sh b/android_regen.sh
index 824bb75e..6cad17f8 100755
--- a/android_regen.sh
+++ b/android_regen.sh
@@ -37,7 +37,7 @@ if [ "$1" = "--musl_sysroot" ]; then
fi
if [ $NAME == "linux_glibc" ]; then
- export CC="$ANDROID_BUILD_TOP/prebuilts/clang/host/linux-x86/clang-r370808/bin/clang"
+ export CC="$ANDROID_BUILD_TOP/prebuilts/clang/host/linux-x86/$(cd $ANDROID_BUILD_TOP; build/soong/scripts/get_clang_version.py)/bin/clang"
export CFLAGS="--sysroot=$ANDROID_BUILD_TOP/prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.17-4.8/sysroot"
export LDFLAGS="--sysroot=$ANDROID_BUILD_TOP/prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.17-4.8/sysroot -B$ANDROID_BUILD_TOP/prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.17-4.8/lib/gcc/x86_64-linux/4.8.3 -L$ANDROID_BUILD_TOP/prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.17-4.8/lib/gcc/x86_64-linux/4.8.3 -L$ANDROID_BUILD_TOP/prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.17-4.8/x86_64-linux/lib64"
fi