From dcb9253c0d8aff031af2a55628c11d76e2a25da7 Mon Sep 17 00:00:00 2001 From: David Tardon Date: Mon, 2 Nov 2015 09:43:32 +0100 Subject: [PATCH] pass default CXXFLAGS too --- libmwaw.spec | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libmwaw.spec b/libmwaw.spec index f237975..7d2065f 100644 --- a/libmwaw.spec +++ b/libmwaw.spec @@ -48,7 +48,7 @@ Supported output formats are CSV, HTML, SVG, plain text and raw. %autosetup -p1 %build -export CXXFLAGS=-std=c++11 +export CXXFLAGS="-std=c++11 %{optflags}" %configure --disable-static --disable-werror --disable-zip --enable-docs --with-sharedptr=c++11 sed -i \ -e 's|^hardcode_libdir_flag_spec=.*|hardcode_libdir_flag_spec=""|g' \