We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 782a094 commit d10dfe3Copy full SHA for d10dfe3
1 file changed
core/BUILD
@@ -8,6 +8,11 @@ config_setting(
8
constraint_values = ["@platforms//os:windows"],
9
)
10
11
+config_setting(
12
+ name = "macos",
13
+ constraint_values = ["@platforms//os:macos"],
14
+)
15
+
16
# Strict warnings mode
17
string_flag(
18
name = "strict_warnings",
@@ -100,6 +105,9 @@ cc_library(
100
105
copts = select({
101
106
":windows": ["/std:c++17"],
102
107
"//conditions:default": ["-std=c++17"],
108
+ }) + select({
109
+ ":macos": ["-mmacosx-version-min=10.15"],
110
+ "//conditions:default": [],
103
111
}),
104
112
defines = [
113
"CODSPEED_VERSION=\\\"{}\\\"".format(CODSPEED_VERSION),
0 commit comments