bcmake 449 B

123456789101112
  1. #!/bin/bash
  2. cd ..
  3. export PATH=/home/mingw/cross/i686-w64-mingw32/bin:/home/mingw/cross/bin:$PATH
  4. export CXXFLAGS="-Wall -O5 -flto -fwhole-program -ffast-math -funswitch-loops -funsafe-loop-optimizations -std=gnu++0x -Wno-attributes"
  5. #export CXXFLAGS="-Wall -O5 -g1 -ffast-math -funswitch-loops -funsafe-loop-optimizations -std=gnu++0x"
  6. cmake -DCMAKE_TOOLCHAIN_FILE=build/toolchain.cmake . 2>build/make1.log
  7. make -j16 VERBOSE=1 2>>build/make.log