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

Unified Diff: third_party/libc++/BUILD.gn

Issue 2946073002: Fix libc++ ARM build (Closed)
Patch Set: Created 3 years, 6 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
Index: third_party/libc++/BUILD.gn
diff --git a/third_party/libc++/BUILD.gn b/third_party/libc++/BUILD.gn
index d87f38bd803effb429cd80d24ae4b2e5ba537df1..a5e72da1e602a2bb08bca9b83766f3837250bfcd 100644
--- a/third_party/libc++/BUILD.gn
+++ b/third_party/libc++/BUILD.gn
@@ -46,6 +46,10 @@ config("config") {
"-isystem" + rebase_path("../libc++abi/trunk/include", root_build_dir),
"-std=c++11",
]
+ if (target_cpu == "arm") {
+ cflags_c = [ "-isystem" + rebase_path("../libunwind/trunk/include", root_build_dir) ]
+ cflags_cc += [ "-isystem" + rebase_path("../libunwind/trunk/include", root_build_dir) ]
+ }
}
config("no_libstdcpp") {
« no previous file with comments | « DEPS ('k') | third_party/libc++abi/BUILD.gn » ('j') | third_party/libunwind/OWNERS » ('J')

Powered by Google App Engine
This is Rietveld 408576698