diff --git a/libcutl.spec b/libcutl.spec index 40600096b3fd6d69ea28ddddf7f27bd981cf8061..fb74fd20faa934cf6b003b3a51db503dd7d4bfe3 100644 --- a/libcutl.spec +++ b/libcutl.spec @@ -48,6 +48,10 @@ rm -rv cutl/details/boost rm -rv cutl/details/expat %build +CC="$CC -std=gnu89" +export CXXFLAGS="-std=c++14 $RPM_OPT_FLAGS" +%configure --disable-static --enable-shared + # Use the system Boost and expat libraries confopts="--disable-static --with-external-expat %{?external_boost}" # If building on RHEL 5