diff --git a/.travis.yml b/.travis.yml index 7a15377a1..d99a31428 100644 --- a/.travis.yml +++ b/.travis.yml @@ -77,7 +77,9 @@ matrix: - os: linux compiler: "gcc-6-release-i686" - env: TARGET_ARCH='i686' CCOMPILER='gcc-6' CXXCOMPILER='g++-6' BUILD_TYPE='Release' + env: > + TARGET_ARCH='i686' CCOMPILER='gcc-6' CXXCOMPILER='g++-6' BUILD_TYPE='Release' + CFLAGS='-m32 -msse2 -mfpmath=sse' CXXFLAGS='-m32 -msse2 -mfpmath=sse' - os: linux compiler: "gcc-4.9-release" diff --git a/example/CMakeLists.txt b/example/CMakeLists.txt index 8e67cda86..154eda39b 100644 --- a/example/CMakeLists.txt +++ b/example/CMakeLists.txt @@ -19,7 +19,7 @@ if(CMAKE_SIZEOF_VOID_P EQUAL 8) set(bitness 64) message(STATUS "Building on a 64 bit system") else() - message(WARNING "Building on a 32 bit system is unsupported") + message(STATUS "Building on a 32 bit system") endif() if(WIN32 AND MSVC_VERSION LESS 1900) diff --git a/scripts/travis/before_install.i686.sh b/scripts/travis/before_install.i686.sh index beaeb2f51..7a1956efd 100644 --- a/scripts/travis/before_install.i686.sh +++ b/scripts/travis/before_install.i686.sh @@ -1,9 +1,5 @@ #!/bin/sh -ex -## Generate code for 32-bit ABI with default for x86_84 fpmath -export CFLAGS='-m32 -msse2 -mfpmath=sse' -export CXXFLAGS='-m32 -msse2 -mfpmath=sse' - sudo dpkg --add-architecture i386 sudo add-apt-repository --yes ppa:ubuntu-toolchain-r/test && ( sudo apt-get update -qq --yes || true )