Meta: Explicitly set the sysroot path during Lagom builds

Otherwise, we don't set the -isysroot flag, and my mac is unable to
build with GN.
This commit is contained in:
Timothy Flynn 2023-11-13 16:11:37 -05:00 committed by Tim Flynn
parent 2cb977e368
commit 6ac57448af
Notes: sideshowbarker 2024-07-17 07:20:49 +09:00

View File

@ -146,7 +146,7 @@ config("compiler_defaults") {
}
}
if (current_os == "mac" && sysroot != "") {
if (current_os == "mac") {
sdk_path = mac_sdk_path
cflags += [
"-isysroot",