protoc_crosscompile_aarch64.sh 147 B

123456789
  1. #!/bin/bash
  2. #
  3. # Builds protobuf C++ with aarch64 crosscompiler.
  4. set -ex
  5. ./autogen.sh
  6. CXXFLAGS="-fPIC -g -O2" ./configure --host=aarch64
  7. make -j8