<html>
    <head>
      <base href="https://bugs.webkit.org/" />
    </head>
    <body>
      <p>
        <div>
            <b><a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - [GTK][CMake] Default to -g1 on 32bit processors if DEBUG_FISSION is not enabled"
   href="https://bugs.webkit.org/show_bug.cgi?id=146641#c4">Comment # 4</a>
              on <a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - [GTK][CMake] Default to -g1 on 32bit processors if DEBUG_FISSION is not enabled"
   href="https://bugs.webkit.org/show_bug.cgi?id=146641">bug 146641</a>
              from <span class="vcard"><a class="email" href="mailto:emanuele.aina&#64;collabora.com" title="Emanuele Aina &lt;emanuele.aina&#64;collabora.com&gt;"> <span class="fn">Emanuele Aina</span></a>
</span></b>
        <pre>I've attached a patch to override the default -g flag with -g1, while allowing for more specific flags (eg. -ggdb3) to be specified by the user.

This relies of the patch for <a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - [GTK][CMake] armhf would benefit from --no-keep-memory too"
   href="show_bug.cgi?id=146640">bug #146640</a> to work on the armhf toolchain I'm using. Note that here we care about both the build and destination architecture, while <a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - [GTK][CMake] armhf would benefit from --no-keep-memory too"
   href="show_bug.cgi?id=146640">bug #146640</a> was more about the build architecture as the --no-keep-memory does not affects the generated binaries.

Another option would be to properly detect the word size of the destination architecture using CMAKE_SIZEOF_VOID_P instead of CMAKE_HOST_SYSTEM_PROCESSOR.</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>