forked from pool/MozillaFirefox
Accepting request 766087 from home:Guillaume_G:branches:openSUSE:Factory:ARM
- Fix build for aarch64/ppc64le (do not update config.sub file for libbacktrace) OBS-URL: https://build.opensuse.org/request/show/766087 OBS-URL: https://build.opensuse.org/package/show/mozilla:Factory/MozillaFirefox?expand=0&rev=797
This commit is contained in:
parent
84f4043538
commit
abdc4f99a4
@ -1,3 +1,9 @@
|
||||
-------------------------------------------------------------------
|
||||
Tue Jan 21 12:59:54 UTC 2020 - Guillaume GARDET <guillaume.gardet@opensuse.org>
|
||||
|
||||
- Fix build for aarch64/ppc64le (do not update config.sub file
|
||||
for libbacktrace)
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Jan 8 08:19:12 UTC 2020 - Wolfgang Rosenauer <wr@rosenauer.org>
|
||||
|
||||
|
@ -324,8 +324,14 @@ cd $RPM_BUILD_DIR/%{srcname}-%{orig_version}
|
||||
%patch101 -p1
|
||||
%patch102 -p1
|
||||
%endif # only_print_mozconfig
|
||||
# Save config.sub to restore it (for aarch64/ppc64le) later, as it is checked with a checksum
|
||||
cp ./third_party/rust/backtrace-sys/src/libbacktrace/config.sub ./third_party/rust/backtrace-sys/src/libbacktrace/config.sub.save
|
||||
cp ./third_party/rust/backtrace-sys/src/libbacktrace/config.guess ./third_party/rust/backtrace-sys/src/libbacktrace/config.guess.save
|
||||
|
||||
%build
|
||||
# Restore config.sub file
|
||||
mv ./third_party/rust/backtrace-sys/src/libbacktrace/config.sub.save ./third_party/rust/backtrace-sys/src/libbacktrace/config.sub
|
||||
mv ./third_party/rust/backtrace-sys/src/libbacktrace/config.guess.save ./third_party/rust/backtrace-sys/src/libbacktrace/config.guess
|
||||
%if !%{with only_print_mozconfig}
|
||||
# no need to add build time to binaries
|
||||
modified="$(sed -n '/^----/n;s/ - .*$//;p;q' "%{_sourcedir}/%{name}.changes")"
|
||||
|
Loading…
x
Reference in New Issue
Block a user