Index: build/config/mac/BUILD.gn |
diff --git a/build/config/mac/BUILD.gn b/build/config/mac/BUILD.gn |
index 78c106aebf96ef39bef525ef3ab6dbd36e57b483..b6db8e0b7104d6638ac1a001b137aa8d968faeb1 100644 |
--- a/build/config/mac/BUILD.gn |
+++ b/build/config/mac/BUILD.gn |
@@ -2,6 +2,18 @@ |
# Use of this source code is governed by a BSD-style license that can be |
# found in the LICENSE file. |
+import("//build/config/sysroot.gni") |
+ |
+config("sdk") { |
+ common_flags = [ |
+ "-isysroot", sysroot, |
+ "-mmacosx-version-min=10.6" |
+ ] |
+ |
+ cflags = common_flags |
+ ldflags = common_flags |
+} |
+ |
# On Mac, this is used for everything except static libraries. |
config("mac_dynamic_flags") { |
ldflags = [ |