From 2cd1c212e2c74f4f8a9afc60db5b20cd39e4780f Mon Sep 17 00:00:00 2001 From: Tomas Hozza Date: Tue, 16 Dec 2014 16:36:30 +0100 Subject: [PATCH] build the library with c++11 support Signed-off-by: Tomas Hozza --- log4cplus.spec | 3 +++ 1 file changed, 3 insertions(+) diff --git a/log4cplus.spec b/log4cplus.spec index ea0ab6e..b9cd318 100644 --- a/log4cplus.spec +++ b/log4cplus.spec @@ -28,6 +28,8 @@ using log4cplus logging framework. %setup -q %{?prever:-n %{name}-%{version}-%{prever}} %build +export CFLAGS=$RPM_OPT_FLAGS +export CXXFLAFS="$RPM_OPT_FLAGS -std=c++11" %configure make %{?_smp_mflags} @@ -67,6 +69,7 @@ rm -f $RPM_BUILD_ROOT/%{_libdir}/liblog4cplus.{a,la} %changelog * Tue Dec 16 2014 Tomas Hozza - 1.1.3-0.1.rc3 - update to 1.1.3rc3 +- build the library with c++11 support * Sun Aug 17 2014 Fedora Release Engineering - 1.1.2-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild