Browse Source

Use cpu-dependent optimization for pentium 3.

residual_point
Night Owl 7 years ago
parent
commit
3635706f15
  1. 2
      .travis.yml

2
.travis.yml

@ -15,7 +15,7 @@ before_script: @@ -15,7 +15,7 @@ before_script:
- mv SDL2-2.0.7/i686-w64-mingw32/include/SDL2 cl_dll/
script:
- mkdir -p build && cd build
- cmake ../ -DCMAKE_C_FLAGS="-O2 -pipe -DNDEBUG -march=nocona -fvisibility=hidden -fomit-frame-pointer" -DCMAKE_CXX_FLAGS="-fno-exceptions -fno-rtti" -DCMAKE_EXE_LINKER_FLAGS="-Wl,--no-undefined -Wl,--strip-all" -DGOLDSOURCE_SUPPORT=1 -DUSE_VOICEMGR=0 && make -j3
- cmake ../ -DCMAKE_C_FLAGS="-O2 -pipe -DNDEBUG -march=pentium3 -fvisibility=hidden -fomit-frame-pointer" -DCMAKE_CXX_FLAGS="-fno-exceptions -fno-rtti" -DCMAKE_EXE_LINKER_FLAGS="-Wl,--no-undefined -Wl,--strip-all" -DGOLDSOURCE_SUPPORT=1 -DUSE_VOICEMGR=0 && make -j3
- mkdir -p $TRAVIS_BRANCH-$TRAVIS_OS_NAME-$CC/cl_dlls
- mkdir -p $TRAVIS_BRANCH-$TRAVIS_OS_NAME-$CC/dlls
- cp cl_dll/libclient.* $TRAVIS_BRANCH-$TRAVIS_OS_NAME-$CC/cl_dlls

Loading…
Cancel
Save