From 6ac57448afb6443ca420055951aad8f71e0fe387 Mon Sep 17 00:00:00 2001 From: Timothy Flynn Date: Mon, 13 Nov 2023 16:11:37 -0500 Subject: [PATCH] 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. --- Meta/gn/build/BUILD.gn | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Meta/gn/build/BUILD.gn b/Meta/gn/build/BUILD.gn index 5d65eae68e..32a6600743 100644 --- a/Meta/gn/build/BUILD.gn +++ b/Meta/gn/build/BUILD.gn @@ -146,7 +146,7 @@ config("compiler_defaults") { } } - if (current_os == "mac" && sysroot != "") { + if (current_os == "mac") { sdk_path = mac_sdk_path cflags += [ "-isysroot",