From 23fbfed98946ac955c47e48d4683fe597663bb28 Mon Sep 17 00:00:00 2001 From: hyung-hwan Date: Thu, 24 Sep 2020 13:45:44 +0000 Subject: [PATCH] updated hawk.spec.in --- hawk/pkgs/hawk.spec.in | 20 +++++++++++++++++++- 1 file changed, 19 insertions(+), 1 deletion(-) 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