Lines 1-5
Link Here
|
1 |
--- build/config/compiler/BUILD.gn.orig 2017-06-05 21:03:01.000000000 +0200 |
1 |
--- build/config/compiler/BUILD.gn.orig 2017-06-20 22:03:10.000000000 +0000 |
2 |
+++ build/config/compiler/BUILD.gn 2017-06-13 16:28:04.062660000 +0200 |
2 |
+++ build/config/compiler/BUILD.gn 2017-06-26 17:10:17.493190000 +0000 |
3 |
@@ -37,7 +37,7 @@ |
3 |
@@ -37,7 +37,7 @@ |
4 |
# only two architectures that are currently checked in). Turn this off when |
4 |
# only two architectures that are currently checked in). Turn this off when |
5 |
# you are using a custom toolchain and need to control -B in cflags. |
5 |
# you are using a custom toolchain and need to control -B in cflags. |
Lines 80-85
Link Here
|
80 |
ldflags += [ "-Wl,-plugin-opt,-function-sections" ] |
80 |
ldflags += [ "-Wl,-plugin-opt,-function-sections" ] |
81 |
} |
81 |
} |
82 |
} |
82 |
} |
|
|
83 |
@@ -584,7 +584,7 @@ |
84 |
cflags += [ "-mtune=$arm_tune" ] |
85 |
} |
86 |
} else if (current_cpu == "arm64") { |
87 |
- if (is_clang && !is_android && !is_nacl) { |
88 |
+ if (is_clang && !is_android && !is_nacl && !is_bsd) { |
89 |
cflags += [ "--target=aarch64-linux-gnu" ] |
90 |
ldflags += [ "--target=aarch64-linux-gnu" ] |
91 |
} |
83 |
@@ -781,7 +781,7 @@ |
92 |
@@ -781,7 +781,7 @@ |
84 |
# configs -= [ "//build/config/compiler:clang_stackrealign" ] |
93 |
# configs -= [ "//build/config/compiler:clang_stackrealign" ] |
85 |
# See https://crbug.com/556393 for details of where it must be avoided. |
94 |
# See https://crbug.com/556393 for details of where it must be avoided. |