Skip to content

Commit

Permalink
Separate out flags for win, apple host config
Browse files Browse the repository at this point in the history
Change-Id: I0944883eca106cc48de8f77474be9efbb0303c77
  • Loading branch information
niranjanyardi committed Mar 25, 2024
1 parent e138be0 commit 4178f71
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions starboard/build/config/BUILD.gn
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,11 @@ config("host") {
cflags = [
"/wd4267", # Possible loss of precision from size_t to a smaller type.
"/wd4715", # Not all control paths return value.
"/std:c++17",
]
} else if (is_apple) {
cflags_cc = [ "-std=gnu++17" ]
cflags_objcc = [ "-std=gnu++17" ]
}
}
}
Expand Down

0 comments on commit 4178f71

Please sign in to comment.