diff --git a/hawk/pkgs/hawk.spec.in b/hawk/pkgs/hawk.spec.in index 519d6ef3..172d499c 100644 --- a/hawk/pkgs/hawk.spec.in +++ b/hawk/pkgs/hawk.spec.in @@ -31,7 +31,25 @@ The header files and libraries for developing applications with HAWK. %build RPM_OPT_FLAGS="$(echo $RPM_OPT_FLAGS | %{__sed} 's/-O2/-O3/')" -CFLAGS="${RPM_OPT_FLAGS} -fPIC" CXXFLAGS="${RPM_OPT_FLAGS} -fPIC" ./configure --prefix=%{_prefix} --libdir=%{_libdir} --sysconfdir=%{_sysconfdir} --enable-shared=no --enable-static-module=yes --enable-dynamic-module=yes --enable-wide-char="yes:2w" --enable-cxx=yes --with-mysql=yes --enable-mod=mysql=yes --enable-mod-uci=no --enable-pthread-flags=yes ##CC=gcc44 CXX=g++44 + +CFLAGS="${RPM_OPT_FLAGS} -fPIC" CXXFLAGS="${RPM_OPT_FLAGS} -fPIC -std=c++11" ./configure \ + --prefix=%{_prefix} \ + --libdir=%{_libdir} \ + --sysconfdir=%{_sysconfdir} \ + --enable-static=yes \ + --enable-shared=no \ + --enable-static-module=yes \ + --enable-dynamic-module=yes \ + --enable-wide-char="yes:2w" \ + --enable-intmax=no \ + --enable-fltmax=no \ + --enable-cxx=yes \ + --enable-pthread-flags=yes \ + --enable-libltdl=no \ + --enable-libunwind=no \ + --enable-mod=mysql=yes \ + --enable-mod-uci=no ##CC=gcc44 CXX=g++44 + make %install