Browse Source

scripts: fix amd64 build

pull/2/head
Alibek Omarov 5 years ago
parent
commit
a5593963c5
  1. 2
      scripts/build_linux_engine.sh

2
scripts/build_linux_engine.sh

@ -40,7 +40,7 @@ build_engine()
cd $TRAVIS_BUILD_DIR cd $TRAVIS_BUILD_DIR
WAF_CONFIGURE_FLAGS="--sdl2=$TRAVIS_BUILD_DIR/SDL2_linux -T release --enable-stb --prefix=$APPDIR --win-style-install" WAF_CONFIGURE_FLAGS="--sdl2=$TRAVIS_BUILD_DIR/SDL2_linux -T release --enable-stb --prefix=$APPDIR --win-style-install"
if [ "$ARCH" = "amd64" ]; then # we need enabling 64-bit target only on Intel-compatible CPUs if [ "$ARCH" = "x86_64" ]; then # we need enabling 64-bit target only on Intel-compatible CPUs
WAF_CONFIGURE_FLAGS="$WAF_CONFIGURE_FLAGS -8" WAF_CONFIGURE_FLAGS="$WAF_CONFIGURE_FLAGS -8"
fi fi
./waf configure $WAF_CONFIGURE_FLAGS || die ./waf configure $WAF_CONFIGURE_FLAGS || die

Loading…
Cancel
Save