diff --git a/mobile/tools/build.sh b/mobile/tools/build.sh index 741e6a590e685a0f723f364336ac1dc6061fe0ba..3dc579ecf09c20028d8f845876d35497c12fa35b 100755 --- a/mobile/tools/build.sh +++ b/mobile/tools/build.sh @@ -130,7 +130,7 @@ build_for_arm_linux() { -B"../build/release/arm-linux" \ -DCMAKE_BUILD_TYPE="${MODE}" \ -DCMAKE_TOOLCHAIN_FILE="./tools/toolchains/arm-linux-gnueabihf.cmake" \ - -DCMAKE_CXX_FLAGS="-std=c++14 -mcpu=cortex-a53 -mtune=cortex-a53 -ftree-vectorize -funsafe-math-optimizations -pipe -mlittle-endian " \ + -DCMAKE_CXX_FLAGS=" " \ -DNET="${NETS}" \ -D"V7"=true else @@ -138,7 +138,7 @@ build_for_arm_linux() { -B"../build/release/arm-linux" \ -DCMAKE_BUILD_TYPE="${MODE}" \ -DCMAKE_TOOLCHAIN_FILE="./tools/toolchains/arm-linux-gnueabihf.cmake" \ - -DCMAKE_CXX_FLAGS="-std=c++14 -mcpu=cortex-a53 -mtune=cortex-a53 -ftree-vectorize -funsafe-math-optimizations -pipe -mlittle-endian " \ + -DCMAKE_CXX_FLAGS=" " \ -DNET="${NETS}" \ -D"V7"=true fi