!7 use standard macro
From: @fundawang Reviewed-by: @dillon_chen, @zhang_xubo Signed-off-by: @zhang_xubo, @dillon_chen
This commit is contained in:
commit
1e242743fe
@ -28,7 +28,6 @@ The %{name}-devel package contains libraries and header files for %{name}.
|
||||
|
||||
%build
|
||||
%{cmake} \
|
||||
-B %{__cmake_builddir} \
|
||||
-DBUILD_ONLY="s3" \
|
||||
-DCMAKE_CXX_FLAGS="%{build_cxxflags} -std=c++11 -D_GLIBCXX_USE_CXX11_ABI=0 -fstack-protector-strong" \
|
||||
-DCMAKE_C_FLAGS="%{build_cflags} -std=c99 -D_GLIBCXX_USE_CXX11_ABI=0 -fstack-protector-strong" \
|
||||
@ -37,10 +36,10 @@ The %{name}-devel package contains libraries and header files for %{name}.
|
||||
-DCMAKE_BUILD_TYPE=Release \
|
||||
-DAUTORUN_UNIT_TESTS=OFF
|
||||
|
||||
%cmake_build
|
||||
%make_build
|
||||
|
||||
%install
|
||||
%cmake_install
|
||||
%make_install
|
||||
|
||||
%files
|
||||
%{_libdir}/*.so
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user