From 3ab70b062114f6c9819bb00be74a95440495259c Mon Sep 17 00:00:00 2001 From: zhongtao Date: Thu, 1 Feb 2024 15:21:20 +0800 Subject: [PATCH] fix eulerMaker build error Signed-off-by: zhongtao --- protobuf.spec | 1 + 1 file changed, 1 insertion(+) diff --git a/protobuf.spec b/protobuf.spec index f5b6603..0ee19c7 100644 --- a/protobuf.spec +++ b/protobuf.spec @@ -246,6 +246,7 @@ export CMAKE_BUILD_DIR=build-static -Dprotobuf_USE_EXTERNAL_GTEST:BOOL=ON \ -Dprotobuf_ABSL_PROVIDER=package \ -Dprotobuf_BUILD_TESTS:BOOL=OFF \ + -DCMAKE_CXX_FLAGS="-fPIC" \ -G Ninja \ ../ popd -- Gitee