updated hawk.spec.in
This commit is contained in:
parent
2fe815e815
commit
23fbfed989
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user