Specify pic for static libsysprof-capture
This commit is contained in:
parent
9e889d7a48
commit
7da0513375
24
libsysprof-capture-pic.patch
Normal file
24
libsysprof-capture-pic.patch
Normal file
@ -0,0 +1,24 @@
|
|||||||
|
From 77a340e3f6189cc428f2d7856682b205be5d9ec3 Mon Sep 17 00:00:00 2001
|
||||||
|
From: Christian Hergert <chergert@redhat.com>
|
||||||
|
Date: Fri, 19 Feb 2021 09:37:24 -0800
|
||||||
|
Subject: [PATCH] build: use specify pic for static libsysprof-capture
|
||||||
|
|
||||||
|
---
|
||||||
|
src/libsysprof-capture/meson.build | 1 +
|
||||||
|
1 file changed, 1 insertion(+)
|
||||||
|
|
||||||
|
diff --git a/src/libsysprof-capture/meson.build b/src/libsysprof-capture/meson.build
|
||||||
|
index 6343165..e4e302c 100644
|
||||||
|
--- a/src/libsysprof-capture/meson.build
|
||||||
|
+++ b/src/libsysprof-capture/meson.build
|
||||||
|
@@ -52,6 +52,7 @@ libsysprof_capture = static_library(
|
||||||
|
install_dir: get_option('libdir'),
|
||||||
|
install: not meson.is_subproject(),
|
||||||
|
gnu_symbol_visibility: 'hidden',
|
||||||
|
+ pic: true,
|
||||||
|
)
|
||||||
|
|
||||||
|
libsysprof_capture_include_dirs = include_directories('.')
|
||||||
|
--
|
||||||
|
GitLab
|
||||||
|
|
@ -2,13 +2,16 @@
|
|||||||
|
|
||||||
Name: sysprof
|
Name: sysprof
|
||||||
Version: 3.39.90
|
Version: 3.39.90
|
||||||
Release: 1%{?dist}
|
Release: 2%{?dist}
|
||||||
Summary: A system-wide Linux profiler
|
Summary: A system-wide Linux profiler
|
||||||
|
|
||||||
License: GPLv3+
|
License: GPLv3+
|
||||||
URL: http://www.sysprof.com
|
URL: http://www.sysprof.com
|
||||||
Source0: https://download.gnome.org/sources/sysprof/3.39/sysprof-%{version}.tar.xz
|
Source0: https://download.gnome.org/sources/sysprof/3.39/sysprof-%{version}.tar.xz
|
||||||
|
|
||||||
|
# Backported from upstream
|
||||||
|
Patch0: libsysprof-capture-pic.patch
|
||||||
|
|
||||||
BuildRequires: gcc
|
BuildRequires: gcc
|
||||||
BuildRequires: gcc-c++
|
BuildRequires: gcc-c++
|
||||||
BuildRequires: gettext
|
BuildRequires: gettext
|
||||||
@ -134,6 +137,9 @@ desktop-file-validate %{buildroot}%{_datadir}/applications/*.desktop
|
|||||||
|
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Mon Feb 22 2021 Kalev Lember <klember@redhat.com> - 3.39.90-2
|
||||||
|
- Specify pic for static libsysprof-capture
|
||||||
|
|
||||||
* Thu Feb 18 2021 Kalev Lember <klember@redhat.com> - 3.39.90-1
|
* Thu Feb 18 2021 Kalev Lember <klember@redhat.com> - 3.39.90-1
|
||||||
- Update to 3.39.90
|
- Update to 3.39.90
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user