static_rnnoise.sh 284 B

123456789101112
  1. #!/bin/sh
  2. if [ -d "rnnoise" ]; then
  3. rm -rf ./rnnoise
  4. fi
  5. git clone https://github.com/xiph/rnnoise.git
  6. cd rnnoise/
  7. ./autogen.sh
  8. CFLAGS="-fvisibility=hidden -fPIC -Wl,--exclude-libs,ALL" \
  9. ./configure \
  10. --disable-examples --disable-doc \
  11. --disable-shared --enable-static
  12. make -j2