gn-bootstrap.patch 582 B

12345678910111213141516
  1. --- a/build/gen.py.gn-bootstrap 2018-07-21 09:17:17.000000000 +0200
  2. +++ b/build/gen.py 2018-07-21 17:08:45.465590164 +0200
  3. @@ -367,10 +367,8 @@
  4. # Use the sid sysroot that UpdateLinuxSysroot() downloads.
  5. cflags.append('--sysroot=' + linux_sysroot)
  6. ldflags.append('--sysroot=' + linux_sysroot)
  7. - ldflags.extend([
  8. - '-static-libstdc++',
  9. - '-Wl,--as-needed',
  10. - ])
  11. + ldflags.append('-static-libstdc++')
  12. + ldflags.append('-Wl,--as-needed')
  13. libs.extend([
  14. # These are needed by libc++.
  15. '-ldl',