Build assembler files with dwarf debug symbols

OBS-URL: https://build.opensuse.org/package/show/multimedia:libs/rav1e?expand=0&rev=4
This commit is contained in:
Andreas Schneider 2019-12-09 22:56:17 +00:00 committed by Git OBS Bridge
parent 7da6a7f7ca
commit 24f2913b7e
3 changed files with 21 additions and 0 deletions

View File

@ -0,0 +1,13 @@
Index: rav1e-0.1.0/build.rs
===================================================================
--- rav1e-0.1.0.orig/build.rs 2019-11-09 06:20:33.000000000 +0100
+++ rav1e-0.1.0/build.rs 2019-12-09 23:45:33.367254150 +0100
@@ -56,7 +56,7 @@ fn build_nasm_files() {
"src/x86/cdef.asm",
"src/x86/tables.asm",
],
- &[&config_include_arg, "-Isrc/"],
+ &[&config_include_arg, "-Isrc/", "-g", "-Fdwarf"],
);
println!("cargo:rustc-link-lib=static=rav1easm");
rerun_dir("src/x86");

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
Mon Dec 9 22:54:35 UTC 2019 - Andreas Schneider <asn@cryptomilk.org>
- Build assembler files with dwarf debug symbols
- Added rav1e-0.1.0-build_nasm_debug.patch
-------------------------------------------------------------------
Thu Dec 5 09:31:43 UTC 2019 - Andreas Schneider <asn@cryptomilk.org>

View File

@ -28,6 +28,8 @@ URL: https://github.com/xiph/rav1e
Source0: https://github.com/xiph/rav1e/archive/%{version}/%{name}-%{version}.tar.gz
Source1: vendor.tar.xz
#
Patch0: rav1e-0.1.0-build_nasm_debug.patch
#
BuildRequires: cargo-c
BuildRequires: nasm
BuildRequires: rust-packaging