From a50f3a9728ce135acd23e6b1429665948bb4ba8f Mon Sep 17 00:00:00 2001 From: xiebaiyuan Date: Sat, 28 Mar 2020 00:38:43 +0800 Subject: [PATCH] [mobile][arm_linux] fix rk3399 ,test=develop (#3289) --- mobile/tools/build.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/mobile/tools/build.sh b/mobile/tools/build.sh index 741e6a590e..3dc579ecf0 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 -- GitLab