Przeglądaj źródła

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.
Timothy Flynn 1 rok temu
rodzic
commit
6ac57448af
1 zmienionych plików z 1 dodań i 1 usunięć
  1. 1 1
      Meta/gn/build/BUILD.gn

+ 1 - 1
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",