From 78f9fd02ec27ca7ac84e139e0702e6d9cf5c6824 Mon Sep 17 00:00:00 2001 From: takeshix Date: Mon, 12 Oct 2020 18:01:35 +0200 Subject: [PATCH] Update build_gdb.sh --- build/targets/build_gdb.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/build/targets/build_gdb.sh b/build/targets/build_gdb.sh index 8c1bc60..c9a8b69 100755 --- a/build/targets/build_gdb.sh +++ b/build/targets/build_gdb.sh @@ -19,7 +19,7 @@ build_gdb() { CMD="CFLAGS=\"${GCC_OPTS}\" " CMD+="CXXFLAGS=\"${GXX_OPTS}\" " CMD+="LDFLAGS=\"-static -pthread\" " - if [ "$CURRENT_ARCH" != "x86" ] && "$CURRENT_ARCH" != "x86_64" ];then + if [ "$CURRENT_ARCH" != "x86" ] && [ "$CURRENT_ARCH" != "x86_64" ];then CMD+="CC_FOR_BUILD=\"/x86_64-linux-musl-cross/bin/x86_64-linux-musl-gcc\" " CMD+="CPP_FOR_BUILD=\"/x86_64-linux-musl-cross/bin/x86_64-linux-musl-g++\" " fi