/[packages]/cauldron/rust/current/SPECS/rust.spec
ViewVC logotype

Diff of /cauldron/rust/current/SPECS/rust.spec

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1448960 by akien, Wed Oct 2 19:29:04 2019 UTC revision 1449043 by tv, Thu Oct 3 07:07:34 2019 UTC
# Line 50  Line 50 
50  %bcond_with bundled_llvm  %bcond_with bundled_llvm
51  %endif  %endif
52    
53    %ifarch s390 s390x %{arm} %ix86
54    # Decrease debuginfo verbosity to reduce memory consumption during final library linking
55    %global optflags %(echo %{optflags} | sed 's/-g /-g1 /')
56    %endif
57    
58  # libgit2-sys expects to use its bundled library, which is sometimes just a  # libgit2-sys expects to use its bundled library, which is sometimes just a
59  # snapshot of libgit2's master branch.  This can mean the FFI declarations  # snapshot of libgit2's master branch.  This can mean the FFI declarations
60  # won't match our released libgit2.so, e.g. having changed struct fields.  # won't match our released libgit2.so, e.g. having changed struct fields.
# Line 516  export LIBSSH2_SYS_USE_PKG_CONFIG=1 Line 521  export LIBSSH2_SYS_USE_PKG_CONFIG=1
521  %ifarch %{arm} %{ix86} s390x  %ifarch %{arm} %{ix86} s390x
522  # full debuginfo is exhausting memory; just do libstd for now  # full debuginfo is exhausting memory; just do libstd for now
523  # https://github.com/rust-lang/rust/issues/45854  # https://github.com/rust-lang/rust/issues/45854
524  %if (0%{?fedora} && 0%{?fedora} < 27) || (0%{?rhel} && 0%{?rhel} <= 7)  %if (0%{?mageia} && 0%{?mageia} < 27) || (0%{?rhel} && 0%{?rhel} <= 7)
525  # Older rpmbuild didn't work with partial debuginfo coverage.  # Older rpmbuild didn't work with partial debuginfo coverage.
526  %global debug_package %{nil}  %global debug_package %{nil}
527  %define enable_debuginfo --debuginfo-level=0  %define enable_debuginfo --debuginfo-level=0

Legend:
Removed from v.1448960  
changed lines
  Added in v.1449043

  ViewVC Help
Powered by ViewVC 1.1.30