remove redundant flags

This commit is contained in:
Alexander Frick 2023-04-30 15:44:56 -05:00
parent 1b7f1508a1
commit 51dbe0c8af
5 changed files with 0 additions and 10 deletions

View file

@ -2060,7 +2060,6 @@ if (is_win) {
"/Oy-", # Disable omitting frame pointers, must be after /O2.
"/Zc:inline", # Remove unreferenced COMDAT (faster links).
]
common_optimize_on_ldflags += []
if (!is_asan) {
common_optimize_on_cflags += [
# Put data in separate COMDATs. This allows the linker
@ -2099,7 +2098,6 @@ if (is_win) {
if (is_official_build) {
common_optimize_on_ldflags += [ "/OPT:REF" ] # Remove unreferenced data.
# TODO(thakis): Add LTO/PGO clang flags eventually, https://crbug.com/598772
common_optimize_on_cflags += []
}
} else {

View file

@ -2052,7 +2052,6 @@ if (is_win) {
"/Oy-", # Disable omitting frame pointers, must be after /O2.
"/Zc:inline", # Remove unreferenced COMDAT (faster links).
]
common_optimize_on_ldflags += []
if (!is_asan) {
common_optimize_on_cflags += [
# Put data in separate COMDATs. This allows the linker
@ -2135,7 +2134,6 @@ if (is_win) {
if (is_official_build) {
common_optimize_on_ldflags += [ "/OPT:REF" ] # Remove unreferenced data.
# TODO(thakis): Add LTO/PGO clang flags eventually, https://crbug.com/598772
common_optimize_on_cflags += []
}
} else {

View file

@ -2049,7 +2049,6 @@ if (is_win) {
"/Oy-", # Disable omitting frame pointers, must be after /O2.
"/Zc:inline", # Remove unreferenced COMDAT (faster links).
]
common_optimize_on_ldflags += []
if (!is_asan) {
common_optimize_on_cflags += [
# Put data in separate COMDATs. This allows the linker
@ -2129,7 +2128,6 @@ if (is_win) {
if (is_official_build) {
common_optimize_on_ldflags += [ "/OPT:REF" ] # Remove unreferenced data.
# TODO(thakis): Add LTO/PGO clang flags eventually, https://crbug.com/598772
common_optimize_on_cflags += []
}
} else {

View file

@ -2049,7 +2049,6 @@ if (is_win) {
"/Oy-", # Disable omitting frame pointers, must be after /O2.
"/Zc:inline", # Remove unreferenced COMDAT (faster links).
]
common_optimize_on_ldflags += []
if (!is_asan) {
common_optimize_on_cflags += [
# Put data in separate COMDATs. This allows the linker
@ -2129,7 +2128,6 @@ if (is_win) {
if (is_official_build) {
common_optimize_on_ldflags += [ "/OPT:REF" ] # Remove unreferenced data.
# TODO(thakis): Add LTO/PGO clang flags eventually, https://crbug.com/598772
common_optimize_on_cflags += []
}
} else {

View file

@ -2044,7 +2044,6 @@ if (is_win) {
"/Oy-", # Disable omitting frame pointers, must be after /O2.
"/Zc:inline", # Remove unreferenced COMDAT (faster links).
]
common_optimize_on_ldflags += []
if (!is_asan) {
common_optimize_on_cflags += [
# Put data in separate COMDATs. This allows the linker
@ -2126,7 +2125,6 @@ if (is_win) {
if (is_official_build) {
common_optimize_on_ldflags += [ "/OPT:REF" ] # Remove unreferenced data.
# TODO(thakis): Add LTO/PGO clang flags eventually, https://crbug.com/598772
common_optimize_on_cflags += []
}
} else {