diff --git a/opengauss-dcf.spec b/opengauss-dcf.spec index ce9edc8..69d5fe7 100644 --- a/opengauss-dcf.spec +++ b/opengauss-dcf.spec @@ -19,7 +19,9 @@ DCF is A distributed consensus framework library for openGauss %prep %setup -q %patch1 -p1 +%ifarch sw_64 %patch2 -p1 +%endif %build cmake -DCMAKE_BUILD_TYPE=Release -DUSE32BIT=OFF -DTEST=OFF -DENABLE_EXPORT_API=OFF CMakeLists.txt