do not compile in C++11 mode

f41
David Tardon 11 years ago
parent c4513c78cc
commit f7adec0890

@ -14,6 +14,7 @@ License: (LGPLv2+ or MPLv2.0) and BSD
URL: http://sourceforge.net/projects/libmwaw/
Source: http://downloads.sourceforge.net/%{name}/%{name}-%{version}.tar.xz
BuildRequires: boost-devel
BuildRequires: doxygen
BuildRequires: libwpd-devel
@ -55,8 +56,7 @@ Supported output formats are XHTML, text and raw.
%build
%configure --disable-static --disable-werror --disable-zip --enable-docs \
--with-sharedptr=c++11 CXXFLAGS="$CXXFLAGS -std=c++11"
%configure --disable-static --disable-werror --disable-zip --enable-docs
sed -i \
-e 's|^hardcode_libdir_flag_spec=.*|hardcode_libdir_flag_spec=""|g' \
-e 's|^runpath_var=LD_RUN_PATH|runpath_var=DIE_RPATH_DIE|g' \

Loading…
Cancel
Save