<html>
    <head>
      <base href="https://bugs.webkit.org/" />
    </head>
    <body>
      <p>
        <div>
            <b><a class="bz_bug_link 
          bz_status_RESOLVED  bz_closed"
   title="RESOLVED FIXED - Incorrect detection of toolchain support for Cortex-A53 erratum 835769 workaround"
   href="https://bugs.webkit.org/show_bug.cgi?id=138840#c7">Comment # 7</a>
              on <a class="bz_bug_link 
          bz_status_RESOLVED  bz_closed"
   title="RESOLVED FIXED - Incorrect detection of toolchain support for Cortex-A53 erratum 835769 workaround"
   href="https://bugs.webkit.org/show_bug.cgi?id=138840">bug 138840</a>
              from <span class="vcard"><a class="email" href="mailto:berto&#64;igalia.com" title="Alberto Garcia &lt;berto&#64;igalia.com&gt;"> <span class="fn">Alberto Garcia</span></a>
</span></b>
        <pre>I guess something like this might be enough:

--- a/Source/cmake/OptionsCommon.cmake
+++ b/Source/cmake/OptionsCommon.cmake
&#64;&#64; -57,6 +57,7 &#64;&#64; if (WTF_CPU_ARM64_CORTEXA53)
         set(CMAKE_C_FLAGS &quot;${CMAKE_C_FLAGS} -mfix-cortex-a53-835769&quot;)
         set(CMAKE_CXX_FLAGS &quot;${CMAKE_CXX_FLAGS} -mfix-cortex-a53-835769&quot;)
         message(STATUS &quot;Enabling Cortex-A53 workaround for compiler&quot;)
+        set(USE_LD_GOLD OFF)
     endif ()
 endif ()</pre>
        </div>
      </p>
      <hr>
      <span>You are receiving this mail because:</span>
      
      <ul>
          <li>You are the assignee for the bug.</li>
      </ul>
    </body>
</html>