@@ -22,34 +22,31 @@ diff --git a/build/config/compiler/BUILD.gn b/build/config/compiler/BUILD.gn
22
22
index 59942a3cf6..cf5e62eb15 100644
23
23
--- a/build/config/compiler/BUILD.gn
24
24
+++ b/build/config/compiler/BUILD.gn
25
- @@ -1255,26 +1255 ,6 @@ config("compiler_cpu_abi") {
26
- "-msse3 ",
27
- ]
28
- }
25
+ @@ -1301,23 +1301 ,6 @@
26
+ "-mfpmath=sse ",
27
+ "-msse3",
28
+ ]
29
29
- } else if (current_cpu == "arm") {
30
- - if (is_clang && !is_android && !is_nacl && ! is_chromeos_device) {
30
+ - if (is_clang && !is_android && !is_chromeos_device) {
31
31
- cflags += [ "--target=arm-linux-gnueabihf" ]
32
32
- ldflags += [ "--target=arm-linux-gnueabihf" ]
33
33
- }
34
- - if (!is_nacl) {
35
- - cflags += [
36
- - "-march=$arm_arch",
37
- - "-mfloat-abi=$arm_float_abi",
38
- - ]
39
- - }
34
+ - cflags += [
35
+ - "-march=$arm_arch",
36
+ - "-mfloat-abi=$arm_float_abi",
37
+ - ]
40
38
- if (arm_tune != "") {
41
39
- cflags += [ "-mtune=$arm_tune" ]
42
40
- }
43
41
- } else if (current_cpu == "arm64") {
44
- - if (is_clang && !is_android && !is_nacl && !is_fuchsia &&
45
- - !is_chromeos_device) {
42
+ - if (is_clang && !is_android && !is_fuchsia && !is_chromeos_device) {
46
43
- cflags += [ "--target=aarch64-linux-gnu" ]
47
44
- ldflags += [ "--target=aarch64-linux-gnu" ]
48
45
- }
49
- } else if (current_cpu == "mipsel" && !is_nacl ) {
46
+ } else if (current_cpu == "mipsel") {
50
47
ldflags += [ "-Wl,--hash-style=sysv" ]
51
48
if (custom_toolchain == "") {
52
- @@ -1282 ,9 +1262 ,6 @@ config("compiler_cpu_abi") {
49
+ @@ -1325 ,9 +1308 ,6 @@
53
50
if (is_android) {
54
51
cflags += [ "--target=mipsel-linux-android" ]
55
52
ldflags += [ "--target=mipsel-linux-android" ]
@@ -59,7 +56,7 @@ index 59942a3cf6..cf5e62eb15 100644
59
56
}
60
57
} else {
61
58
cflags += [ "-EL" ]
62
- @@ -1364 ,8 +1341 ,6 @@ config("compiler_cpu_abi") {
59
+ @@ -1407 ,8 +1387 ,6 @@
63
60
ldflags += [ "-Wl,--hash-style=sysv" ]
64
61
if (custom_toolchain == "") {
65
62
if (is_clang) {
@@ -68,7 +65,7 @@ index 59942a3cf6..cf5e62eb15 100644
68
65
} else {
69
66
cflags += [ "-EB" ]
70
67
ldflags += [ "-EB" ]
71
- @@ -1414 ,8 +1389 ,6 @@ config("compiler_cpu_abi") {
68
+ @@ -1457 ,8 +1435 ,6 @@
72
69
cflags += [ "--target=mips64el-linux-android" ]
73
70
ldflags += [ "--target=mips64el-linux-android" ]
74
71
} else {
@@ -77,7 +74,7 @@ index 59942a3cf6..cf5e62eb15 100644
77
74
}
78
75
} else {
79
76
cflags += [
80
- @@ -1473 ,8 +1446 ,6 @@ config("compiler_cpu_abi") {
77
+ @@ -1516 ,8 +1492 ,6 @@
81
78
ldflags += [ "-Wl,--hash-style=sysv" ]
82
79
if (custom_toolchain == "") {
83
80
if (is_clang) {
@@ -86,14 +83,14 @@ index 59942a3cf6..cf5e62eb15 100644
86
83
} else {
87
84
cflags += [
88
85
"-EB",
89
- @@ -1656 ,23 +1627 ,6 @@ config("compiler_deterministic") {
86
+ @@ -1686 ,23 +1660 ,6 @@
90
87
}
91
88
}
92
89
93
90
- # Tells the compiler not to use absolute paths when passing the default
94
91
- # paths to the tools it invokes. We don't want this because we don't
95
92
- # really need it and it can mess up the RBE cache entries.
96
- - if (is_clang && (!is_nacl || is_nacl_saigo) ) {
93
+ - if (is_clang) {
97
94
- cflags += [ "-no-canonical-prefixes" ]
98
95
-
99
96
- # Same for links: Let the compiler driver invoke the linker
@@ -107,7 +104,7 @@ index 59942a3cf6..cf5e62eb15 100644
107
104
- }
108
105
- }
109
106
-
110
- if (use_libcxx_modules ) {
107
+ if (use_clang_modules ) {
111
108
cflags += [
112
109
# This removes absolute paths from .pcm files.
113
110
- -
0 commit comments