commit 8e86ead7faf3cd29a739d700827e57194e4779c5
Author: Jakub Bogusz <[email protected]>
Date:   Thu Aug 4 17:23:07 2016 +0200

    - compile C++ in C++11 mode (required by dyninst)
    - release 2

 systemtap.spec | 6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)
---
diff --git a/systemtap.spec b/systemtap.spec
index e1ece84..35daf4d 100644
--- a/systemtap.spec
+++ b/systemtap.spec
@@ -16,7 +16,7 @@ Summary:      Instrumentation System
 Summary(pl.UTF-8):     System oprzyrządowania
 Name:          systemtap
 Version:       3.0
-Release:       1
+Release:       2
 License:       GPL v2+
 Group:         Base
 Source0:       
http://sourceware.org/systemtap/ftp/releases/%{name}-%{version}.tar.gz
@@ -45,7 +45,7 @@ BuildRequires:        json-c-devel
 %if %{with dyninst} || %{with java}
 BuildRequires: libselinux-devel
 %endif
-BuildRequires: libstdc++-devel
+BuildRequires: libstdc++-devel >= 6:4.7
 BuildRequires: libvirt-devel >= 1.0.2
 BuildRequires: libxml2-devel >= 2.0
 BuildRequires: mysql-devel
@@ -254,6 +254,8 @@ Przewodniki i dokumentacja wprowadzająca do SystemTap.
 %{__autoconf}
 %{__autoheader}
 %{__automake}
+# dyninst requires C++11 mode
+CXXFLAGS="%{rpmcxxflags} -std=c++11"
 %configure \
        --disable-silent-rules \
        %{?with_crash:--enable-crash} \
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/systemtap.git/commitdiff/8e86ead7faf3cd29a739d700827e57194e4779c5

_______________________________________________
pld-cvs-commit mailing list
[email protected]
http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit

Reply via email to