configure2x 349 B

12345678910
  1. #!/bin/bash
  2. . `dirname "$0"`/common || exit 1
  3. export CC="$COMPILER_PREFIX/bin/$TARGET-gcc"
  4. export CXX="$COMPILER_PREFIX/bin/$TARGET-g++"
  5. #export GCC_EXEC_PREFIX="$TARGET"
  6. export PKG_CONFIG_PATH="$COMPILER_PREFIX/lib/pkgconfig:$PREFIX/lib/pkgconfig:$PKG_CONFIG_PATH"
  7. ./configure --target=$TARGET --host=$TARGET --build=$BUILD --prefix="$PREFIX" $@