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

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

Issue 2476343004: GN: Add an option to build against the Debian wheezy sysroot (Closed)
Patch Set: Created 4 years, 1 month 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 | « build/.gitignore ('k') | build/config/sysroot.gni » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: build/config/linux/BUILD.gn
diff --git a/build/config/linux/BUILD.gn b/build/config/linux/BUILD.gn
index 4b02a258deb7343770ff09fd31e180762717dccb..051809acd1496964c0f6a9540828e7302610f4dc 100644
--- a/build/config/linux/BUILD.gn
+++ b/build/config/linux/BUILD.gn
@@ -17,5 +17,14 @@ config("sdk") {
sysroot,
],
"value") ]
+
+ # When using the pulled wheezy sysroot with gcc, we have to specify these
+ # excplicitly.
+ if (dart_use_wheezy_sysroot && !is_clang) {
+ cflags += [
+ "-I=/usr/include/c++/4.6",
+ "-I=/usr/include/c++/4.6/i486-linux-gnu",
+ ]
+ }
}
}
« no previous file with comments | « build/.gitignore ('k') | build/config/sysroot.gni » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698