updated hawk.spec.in

This commit is contained in:
hyung-hwan 2020-09-24 13:45:44 +00:00
parent 2fe815e815
commit 23fbfed989

View File

@ -31,7 +31,25 @@ The header files and libraries for developing applications with HAWK.
%build %build
RPM_OPT_FLAGS="$(echo $RPM_OPT_FLAGS | %{__sed} 's/-O2/-O3/')" 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 make
%install %install