thoriumos fixes

This commit is contained in:
Alexander Frick 2023-08-14 03:47:22 -05:00
parent baa761e758
commit 45453433a1
2 changed files with 2 additions and 2 deletions

View file

@ -1,4 +1,4 @@
// Copyright 2023 The Chromium Authors and Alex313031 // Copyright 2023 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be // Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file. // found in the LICENSE file.

View file

@ -1331,7 +1331,7 @@ config("toolchain") {
cflags += [ "/O2", "/arch:SSE3" ] cflags += [ "/O2", "/arch:SSE3" ]
ldflags += [ "/STACK:2097152" ] ldflags += [ "/STACK:2097152" ]
} }
if (is_linux) { if (is_linux || is_chromeos) {
# Full optimization for V8. # Full optimization for V8.
cflags += [ "-O3", "-msse4.1" ] cflags += [ "-O3", "-msse4.1" ]
ldflags += [ "-Wl,-O3", "-msse4.1" ] ldflags += [ "-Wl,-O3", "-msse4.1" ]