Index: build/config/ios/BUILD.gn |
diff --git a/build/config/ios/BUILD.gn b/build/config/ios/BUILD.gn |
index 471f28a7c6b848e129798ba09de0fd3592cfc460..0539810f818dd46564a57cff05e4ca1a5723bd48 100644 |
--- a/build/config/ios/BUILD.gn |
+++ b/build/config/ios/BUILD.gn |
@@ -11,12 +11,12 @@ config("sdk") { |
sysroot, |
] |
- cflags = common_flags |
- ldflags = common_flags |
- |
if (use_ios_simulator) { |
- cflags += [ "-mios-simulator-version-min=$ios_deployment_target" ] |
+ common_flags += [ "-mios-simulator-version-min=$ios_deployment_target" ] |
} else { |
- cflags += [ "-miphoneos-version-min=$ios_deployment_target" ] |
+ common_flags += [ "-miphoneos-version-min=$ios_deployment_target" ] |
} |
+ |
+ cflags = common_flags |
+ ldflags = common_flags |
} |