try fix build issue
This commit is contained in:
parent
bc402d585e
commit
9c446ea6bd
@ -75,8 +75,8 @@ mkdir build
|
||||
cd build
|
||||
cmake -DCMAKE_INSTALL_PREFIX=%{prefix} \
|
||||
-DLIB=%{_lib} \
|
||||
-DCMAKE_C_FLAGS="-Wno-error=format-security %{optflags}" \
|
||||
-DCMAKE_CXX_FLAGS="-Wno-error=format-security %{optflags}" \
|
||||
-DCMAKE_C_FLAGS="%{optflags} -Wno-error=format-security" \
|
||||
-DCMAKE_CXX_FLAGS="%{optflags} -Wno-error=format-security" \
|
||||
-DCMAKE_BUILD_TYPE=Release \
|
||||
-DCMAKE_SKIP_RPATH=1 \
|
||||
..
|
||||
|
||||
Loading…
Reference in New Issue
Block a user