From 5b942325449c1a164635e314895e4f75ba9e95e6 Mon Sep 17 00:00:00 2001 From: Rmys Date: Sun, 23 Sep 2018 19:29:01 +0300 Subject: [PATCH] gn:First release --- programming/build/gn/files/gn-bootstrap.patch | 15 +++++++++++++++ programming/build/gn/pspec.xml | 6 ++---- 2 files changed, 17 insertions(+), 4 deletions(-) create mode 100644 programming/build/gn/files/gn-bootstrap.patch diff --git a/programming/build/gn/files/gn-bootstrap.patch b/programming/build/gn/files/gn-bootstrap.patch new file mode 100644 index 0000000000..fb24e16369 --- /dev/null +++ b/programming/build/gn/files/gn-bootstrap.patch @@ -0,0 +1,15 @@ +--- a/build/gen.py.gn-bootstrap 2018-07-21 09:17:17.000000000 +0200 ++++ b/build/gen.py 2018-07-21 17:08:45.465590164 +0200 +@@ -367,10 +367,8 @@ + # Use the sid sysroot that UpdateLinuxSysroot() downloads. + cflags.append('--sysroot=' + linux_sysroot) + ldflags.append('--sysroot=' + linux_sysroot) +- ldflags.extend([ +- '-static-libstdc++', +- '-Wl,--as-needed', +- ]) ++ ldflags.append('-static-libstdc++') ++ ldflags.append('-Wl,--as-needed') + libs.extend([ + # These are needed by libc++. + '-ldl', diff --git a/programming/build/gn/pspec.xml b/programming/build/gn/pspec.xml index b04c6b1382..920c15adb4 100644 --- a/programming/build/gn/pspec.xml +++ b/programming/build/gn/pspec.xml @@ -17,12 +17,10 @@ git ninja - - -->