build the library with c++11 support

Signed-off-by: Tomas Hozza <thozza@redhat.com>
This commit is contained in:
Tomas Hozza 2014-12-16 16:36:30 +01:00
parent c4ced9ef2e
commit 2cd1c212e2

View File

@ -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 <thozza@redhat.com> - 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 <rel-eng@lists.fedoraproject.org> - 1.1.2-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild