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", |
+ ] |
+ } |
} |
} |