Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(669)

Unified Diff: build/config/android/BUILD.gn

Issue 1871813003: Use clang "--target=x" on android to help icecc (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: build/config/android/BUILD.gn
diff --git a/build/config/android/BUILD.gn b/build/config/android/BUILD.gn
index 62c6d0c16c0734424db2a6e0f6b610bb39544a7f..59cc06ffdbe114b54e0bc75931d8cf5978101e69 100644
--- a/build/config/android/BUILD.gn
+++ b/build/config/android/BUILD.gn
@@ -104,14 +104,8 @@ config("compiler") {
} else {
assert(false, "Architecture not supported")
}
- cflags += [
- "-target",
- abi_target,
- ]
- ldflags += [
- "-target",
- abi_target,
- ]
+ cflags += [ "--target=$abi_target" ]
+ ldflags += [ "--target=$abi_target" ]
}
# Assign any flags set for the C compiler to asmflags so that they are sent
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698