Hello community,

here is the log from the commit of package gn for openSUSE:Factory checked in 
at 2018-08-29 12:26:37
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/gn (Old)
 and      /work/SRC/openSUSE:Factory/.gn.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "gn"

Wed Aug 29 12:26:37 2018 rev:3 rq:631962 version:0.1463

Changes:
--------
--- /work/SRC/openSUSE:Factory/gn/gn.changes    2018-08-07 09:43:03.189307416 
+0200
+++ /work/SRC/openSUSE:Factory/.gn.new/gn.changes       2018-08-29 
12:26:38.803586478 +0200
@@ -1,0 +2,7 @@
+Tue Aug 28 11:06:58 UTC 2018 - [email protected]
+
+- Update to 0.1463:
+  * No upstream changelog
+- Rebase patch gn-flags.patch
+
+-------------------------------------------------------------------

Old:
----
  gn-0.1445.tar.gz

New:
----
  gn-0.1463.tar.gz

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ gn.spec ++++++
--- /var/tmp/diff_new_pack.p5Jy2D/_old  2018-08-29 12:26:39.239587434 +0200
+++ /var/tmp/diff_new_pack.p5Jy2D/_new  2018-08-29 12:26:39.239587434 +0200
@@ -17,7 +17,7 @@
 
 
 Name:           gn
-Version:        0.1445
+Version:        0.1463
 Release:        0
 Summary:        A meta-build system that generates build files for Ninja
 License:        BSD-3-Clause
@@ -47,6 +47,7 @@
 export CC=gcc-7
 export CXX=g++-7
 %endif
+export CXXFLAGS="%{optflags}"
 # bootstrap
 python2 build/gen.py --no-sysroot --no-last-commit-position
 cat >out/last_commit_position.h <<-EOF

++++++ gn-0.1445.tar.gz -> gn-0.1463.tar.gz ++++++
++++ 12841 lines of diff (skipped)

++++++ gn-flags.patch ++++++
--- /var/tmp/diff_new_pack.p5Jy2D/_old  2018-08-29 12:26:39.467587935 +0200
+++ /var/tmp/diff_new_pack.p5Jy2D/_new  2018-08-29 12:26:39.467587935 +0200
@@ -1,8 +1,8 @@
 diff --git a/build/gen.py b/build/gen.py
-index fce8fb18..2927da5f 100755
+index 76f88e84..5e088b2a 100755
 --- a/build/gen.py
 +++ b/build/gen.py
-@@ -260,17 +260,12 @@ def WriteGNNinja(path, options, linux_sysroot):
+@@ -326,9 +326,6 @@ def WriteGNNinja(path, platform, host, options, 
linux_sysroot):
      if options.debug:
        cflags.extend(['-O0', '-g'])
      else:
@@ -12,15 +12,22 @@
        # Use -fdata-sections and -ffunction-sections to place each function
        # or data item into its own section so --gc-sections can eliminate any
        # unused functions and data items.
-       cflags.extend(['-fdata-sections', '-ffunction-sections'])
-       ldflags.extend(['-fdata-sections', '-ffunction-sections'])
-       ldflags.append('-Wl,-dead_strip' if is_mac else '-Wl,--gc-sections')
+@@ -340,14 +337,6 @@ def WriteGNNinja(path, platform, host, options, 
linux_sysroot):
+         # Garbage collection is done by default on aix.
+         ldflags.append('-Wl,--gc-sections')
+ 
 -      # Omit all symbol information from the output file.
--      ldflags.append('-Wl,-S' if is_mac else '-Wl,-strip-all')
+-      if platform.is_darwin():
+-        ldflags.append('-Wl,-S')
+-      elif platform.is_aix():
+-        ldflags.append('-Wl,-s')
+-      else:
+-        ldflags.append('-Wl,-strip-all')
+-
        # Enable identical code-folding.
        if options.use_icf:
          ldflags.append('-Wl,--icf=all')
-@@ -279,11 +274,11 @@ def WriteGNNinja(path, options, linux_sysroot):
+@@ -356,26 +345,17 @@ def WriteGNNinja(path, platform, host, options, 
linux_sysroot):
          '-D_FILE_OFFSET_BITS=64',
          '-D__STDC_CONSTANT_MACROS', '-D__STDC_FORMAT_MACROS',
          '-pthread',
@@ -31,21 +38,20 @@
      cflags_cc.extend(['-std=c++14', '-Wno-c++11-narrowing'])
 +    ldflags.append('-pthread')
  
-     if is_linux:
+     if platform.is_linux():
        if linux_sysroot:
-@@ -293,15 +288,6 @@ def WriteGNNinja(path, options, linux_sysroot):
-         # probably resolve this and (re-)add a way to build against libc++.
+         # Use the sid sysroot that UpdateLinuxSysroot() downloads.
          cflags.append('--sysroot=' + linux_sysroot)
          ldflags.append('--sysroot=' + linux_sysroot)
--      cflags.append('-stdlib=libstdc++')
--      ldflags.extend(['-static-libstdc++',
--                      '-stdlib=libstdc++',
--                      '-Wl,--as-needed',
--                     ])
+-      ldflags.extend([
+-          '-static-libstdc++',
+-          '-Wl,--as-needed',
+-      ])
 -      libs.extend([
--          '-lgcc_s',
+-          # These are needed by libc++.
+-          '-ldl',
 -          '-lpthread',
 -      ])
-     elif is_mac:
+     elif platform.is_darwin():
        min_mac_version_flag = '-mmacosx-version-min=10.9'
        cflags.append(min_mac_version_flag)


Reply via email to