summaryrefslogtreecommitdiff
path: root/www/iridium/files/patch-third__party_swiftshader_BUILD.gn
blob: a2728e56134b3db0ff0ccfa6ed87fa88e50e1b0e (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
--- third_party/swiftshader/BUILD.gn.orig	2019-03-11 22:08:03 UTC
+++ third_party/swiftshader/BUILD.gn
@@ -126,9 +126,6 @@ config("swiftshader_config") {
       ldflags = [ "-Wl,--gc-sections" ]
 
       if (target_cpu == "mipsel") {
-        ldflags += [
-          "-Wl,--hash-style=sysv",
-        ]
         if (mips_arch_variant == "r1") {
           ldflags += [
             "-mips32",
@@ -140,11 +137,8 @@ config("swiftshader_config") {
         }
       } else if (target_cpu == "mips64el") {
         ldflags += [
-          "-Wl,--hash-style=sysv",
           "-mips64r2",
         ]
-      } else {
-        ldflags += [ "-Wl,--hash-style=both" ]
       }
 
       # A bug in the gold linker prevents using ICF on 32-bit (crbug.com/729532)