forked from pool/openpgm
Accepting request 725291 from devel:libraries:c_c++
OBS-URL: https://build.opensuse.org/request/show/725291 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/openpgm?expand=0&rev=7
This commit is contained in:
commit
de14a47969
28
libpgm-5.2.122-configure-rdtsc-checking-chg.patch
Normal file
28
libpgm-5.2.122-configure-rdtsc-checking-chg.patch
Normal file
@ -0,0 +1,28 @@
|
||||
From: Michel Normand <normand@linux.vnet.ibm.com>
|
||||
Subject: libpgm 5.2.122 configure rdtsc checking chg
|
||||
Date: Fri, 16 Aug 2019 13:20:53 +0200
|
||||
|
||||
libpgm 5.2.122 configure rdtsc checking chg
|
||||
|
||||
To avoid rdtsc to be enabled when not required
|
||||
(for PowerPC ARM) when LTO is enabled; eg openSUSE:
|
||||
https://build.opensuse.org/package/show/devel:libraries:c_c++/openpgm
|
||||
|
||||
Signed-off-by: Michel Normand <normand@linux.vnet.ibm.com>
|
||||
---
|
||||
configure.ac | 2 +-
|
||||
1 file changed, 1 insertion(+), 1 deletion(-)
|
||||
|
||||
Index: pgm/configure.ac
|
||||
===================================================================
|
||||
--- pgm.orig/configure.ac
|
||||
+++ pgm/configure.ac
|
||||
@@ -153,7 +153,7 @@ darwin*)
|
||||
AC_MSG_RESULT([no])
|
||||
;;
|
||||
*)
|
||||
-AC_COMPILE_IFELSE(
|
||||
+AC_LINK_IFELSE(
|
||||
[AC_LANG_PROGRAM(,[[unsigned long lo, hi;
|
||||
__asm__ __volatile__ ("rdtsc" : "=a" (lo), "=d" (hi));]])],
|
||||
[AC_MSG_RESULT([yes])
|
@ -1,3 +1,9 @@
|
||||
-------------------------------------------------------------------
|
||||
Fri Aug 16 11:40:05 UTC 2019 - Michel Normand <normand@linux.vnet.ibm.com>
|
||||
|
||||
- Add libpgm-5.2.122-configure-rdtsc-checking-chg.patch
|
||||
same as https://github.com/steve-o/openpgm/pull/63
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Jan 28 12:51:34 UTC 2019 - luca.boccassi@gmail.com
|
||||
|
||||
|
@ -39,6 +39,8 @@ Patch0: libpgm-5.2.122-reproducible.patch
|
||||
Patch1: libpgm-5.2.122-reproducible-architecture.patch
|
||||
# PATCH-FIX-UPSTREAM bluca https://github.com/steve-o/openpgm/pull/57
|
||||
Patch2: libpgm-5.2.122-pkg-config-do-not-add-I-to-non-existing-directory.patch
|
||||
# upstream pending patch https://github.com/steve-o/openpgm/pull/63
|
||||
Patch3: libpgm-5.2.122-configure-rdtsc-checking-chg.patch
|
||||
BuildRequires: autoconf
|
||||
BuildRequires: automake
|
||||
BuildRequires: gcc-c++
|
||||
@ -82,6 +84,7 @@ This subpackage contains the header files for OpenPGM.
|
||||
%patch0 -p1
|
||||
%patch1 -p1
|
||||
%patch2 -p1
|
||||
%patch3 -p1
|
||||
|
||||
%build
|
||||
mkdir -p m4
|
||||
|
Loading…
x
Reference in New Issue
Block a user