Fix protobuf build.

merge-requests/50/head
Mr_Goldberg 2022-08-16 20:38:16 -04:00
parent 7e1409596a
commit 7f3eb9970e
No known key found for this signature in database
GPG Key ID: 8597D87419DEF278
1 changed files with 1 additions and 1 deletions

View File

@ -16,7 +16,7 @@ protobuf_static_steamos:
- echo $BASE_PREFIX_PATH - echo $BASE_PREFIX_PATH
- mkdir deps - mkdir deps
- cd deps - cd deps
- git clone https://github.com/protocolbuffers/protobuf.git - git clone --branch 21.x https://github.com/protocolbuffers/protobuf.git
- cd protobuf - cd protobuf
- sh autogen.sh - sh autogen.sh
- ./configure "CC=gcc-4.9 -m32" "CXX=g++-4.9 -m32" CPPFLAGS="-fPIC -Ofast" CXXFLAGS="-fPIC -Ofast" --prefix=$BASE_PREFIX_PATH/protobuf/prefix_x86/ --disable-shared --enable-static - ./configure "CC=gcc-4.9 -m32" "CXX=g++-4.9 -m32" CPPFLAGS="-fPIC -Ofast" CXXFLAGS="-fPIC -Ofast" --prefix=$BASE_PREFIX_PATH/protobuf/prefix_x86/ --disable-shared --enable-static